changeset 41552:faa20d846eaf

8167437: Fix module dependencies for tests that use internal API (java/lang) Reviewed-by: alanb
author skovalev
date Mon, 17 Oct 2016 18:40:36 +0300
parents ce1843f66c03
children eb5002231dfa
files jdk/test/java/lang/StackWalker/CallerSensitiveMethod/Main.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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