SI-7564 Fix detection of reflective calls on Avian
SI-7564 Fix detection of reflective calls on Avian

Base_1.scala checks whether reflection was used by inspecting
the stacktrace and looking for “java.lang.reflect.”.

The stacktrace looks differently on Avian and therefore the
test fails.

This change looks for “sun.reflect.” instead, which seems to
work on OpenJDK and Avian.

shimib/scala,lrytz/scala,felixmulder/scala,martijnhoekstra/scala,shimib/scala,felixmulder/scala,lrytz/scala,jvican/scala,slothspot/scala,scala/scala,scala/scala,shimib/scala,lrytz/scala,jvican/scala,martijnhoekstra/scala,slothspot/scala,scala/scala,jvican/scala,jvican/scala,slothspot/scala,scala/scala,shimib/scala,felixmulder/scala,slothspot/scala,scala/scala,martijnhoekstra/scala,jvican/scala,lrytz/scala,martijnhoekstra/scala,slothspot/scala,slothspot/scala,jvican/scala,felixmulder/scala,jvican/scala,scala/scala,lrytz/scala,slothspot/scala,shimib/scala,martijnhoekstra/scala,lrytz/scala,martijnhoekstra/scala,felixmulder/scala,felixmulder/scala,shimib/scala,felixmulder/scala