RFR 8208364: java/lang/reflect/callerCache/ReflectionCallerCacheTest.java missing module dependencies declaration

Alexandre (Shura) Iline alexandre.iline at oracle.com
Mon Aug 6 20:51:23 UTC 2018


Hi,

Please taka a quick look on this fix:

$ hg diff
--- a/test/jdk/java/lang/reflect/callerCache/ReflectionCallerCacheTest.java
+++ b/test/jdk/java/lang/reflect/callerCache/ReflectionCallerCacheTest.java
@@ -25,8 +25,9 @@
  * @test
  * @bug 8202113
  * @summary Test the caller class loader is not kept strongly reachable
-  *         by reflection API
+ *         by reflection API
  * @library /test/lib/
+ * @modules jdk.compiler
  * @build ReflectionCallerCacheTest Members jdk.test.lib.compiler.CompilerUtils
  * @run testng/othervm ReflectionCallerCacheTest
  */
$

Thank you.

Shura


More information about the core-libs-dev mailing list