8167437: Fix module dependencies for tests that use internal API (java/lang)
authorskovalev
Mon, 17 Oct 2016 18:40:36 +0300
changeset 41552 faa20d846eaf
parent 41551 ce1843f66c03
child 41553 eb5002231dfa
8167437: Fix module dependencies for tests that use internal API (java/lang) Reviewed-by: alanb
jdk/test/java/lang/StackWalker/CallerSensitiveMethod/Main.java
--- a/jdk/test/java/lang/StackWalker/CallerSensitiveMethod/Main.java	Mon Oct 17 15:32:44 2016 +0000
+++ b/jdk/test/java/lang/StackWalker/CallerSensitiveMethod/Main.java	Mon Oct 17 18:40:36 2016 +0300
@@ -26,6 +26,7 @@
  * @bug 8157464
  * @summary Basic test for StackWalker.getCallerClass()
  * @library src
+ * @modules java.base/jdk.internal.reflect
  * @build java.base/java.util.CSM csm/*
  * @run main/othervm csm/jdk.test.CallerSensitiveTest
  * @run main/othervm csm/jdk.test.CallerSensitiveTest sm