8208364: java/lang/reflect/callerCache/ReflectionCallerCacheTest.java missing module dependencies declaration
authorshurailine
Mon, 06 Aug 2018 15:35:44 -0700
changeset 51320 932efe020b20
parent 51319 3142a04a2f6d
child 51321 ad9ecba11565
8208364: java/lang/reflect/callerCache/ReflectionCallerCacheTest.java missing module dependencies declaration Reviewed-by: mchung
test/jdk/java/lang/reflect/callerCache/ReflectionCallerCacheTest.java
--- a/test/jdk/java/lang/reflect/callerCache/ReflectionCallerCacheTest.java	Mon Aug 06 15:18:57 2018 -0700
+++ b/test/jdk/java/lang/reflect/callerCache/ReflectionCallerCacheTest.java	Mon Aug 06 15:35:44 2018 -0700
@@ -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
  */