changeset 11245:4ce473923672

8156851: Compilation error compiling XpatchDupModule.java and XpatchDupJavaBase.java Summary: test needs @modules java.base/jdk.internal.misc Reviewed-by: jwilhelm, drwhite
author jprovino
date Thu, 12 May 2016 11:54:03 -0400
parents 67ace7884a83
children 798a3c468407
files test/runtime/modules/Xpatch/XpatchDupJavaBase.java test/runtime/modules/Xpatch/XpatchDupModule.java
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtime/modules/Xpatch/XpatchDupJavaBase.java	Thu May 12 13:25:11 2016 +0200
+++ b/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/test/runtime/modules/Xpatch/XpatchDupModule.java	Thu May 12 13:25:11 2016 +0200
+++ b/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
  */