--- a/hotspot/test/runtime/modules/Xpatch/XpatchDupJavaBase.java Thu May 12 17:47:45 2016 +0300
+++ b/hotspot/test/runtime/modules/Xpatch/XpatchDupJavaBase.java Thu May 12 16:46:13 2016 +0000
@@ -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 17:47:45 2016 +0300
+++ b/hotspot/test/runtime/modules/Xpatch/XpatchDupModule.java Thu May 12 16:46:13 2016 +0000
@@ -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
*/