8156851: Compilation error compiling XpatchDupModule.java and XpatchDupJavaBase.java
authorjprovino
Thu, 12 May 2016 11:54:03 -0400
changeset 38300 9f4fc01dc4aa
parent 38298 df621fcf78e2
child 38301 844716ef1b98
8156851: Compilation error compiling XpatchDupModule.java and XpatchDupJavaBase.java Summary: test needs @modules java.base/jdk.internal.misc Reviewed-by: jwilhelm, drwhite
hotspot/test/runtime/modules/Xpatch/XpatchDupJavaBase.java
hotspot/test/runtime/modules/Xpatch/XpatchDupModule.java
--- a/hotspot/test/runtime/modules/Xpatch/XpatchDupJavaBase.java	Thu May 12 13:25:11 2016 +0200
+++ b/hotspot/test/runtime/modules/Xpatch/XpatchDupJavaBase.java	Thu May 12 11:54:03 2016 -0400
@@ -24,6 +24,7 @@
 /*
  * @test
  * @summary VM exit initialization results if java.base is specificed more than once to Xpatch.
+ * @modules java.base/jdk.internal.misc
  * @library /testlibrary
  */
 
--- a/hotspot/test/runtime/modules/Xpatch/XpatchDupModule.java	Thu May 12 13:25:11 2016 +0200
+++ b/hotspot/test/runtime/modules/Xpatch/XpatchDupModule.java	Thu May 12 11:54:03 2016 -0400
@@ -24,6 +24,7 @@
 /*
  * @test
  * @summary Module system initialization exception results if a module is specificed twice to Xpatch.
+ * @modules java.base/jdk.internal.misc
  * @library /testlibrary
  */