8156851: Compilation error compiling XpatchDupModule.java and XpatchDupJavaBase.java
Summary: test needs @modules java.base/jdk.internal.misc
Reviewed-by: jwilhelm, drwhite
--- 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
*/