scala/scala — pull request #2642 by soc (2013-06-07 22:05:29+00:00)
Title: 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.