8167437: Fix module dependencies for tests that use internal API (java/lang)
Reviewed-by: alanb
--- 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