# HG changeset patch # User jprovino # Date 1463068443 14400 # Node ID 9f4fc01dc4aaa3229f8568e11b9d01051f8c2b0c # Parent df621fcf78e2c0f6ae3c1cc8a5cc04854ec149e8 8156851: Compilation error compiling XpatchDupModule.java and XpatchDupJavaBase.java Summary: test needs @modules java.base/jdk.internal.misc Reviewed-by: jwilhelm, drwhite diff -r df621fcf78e2 -r 9f4fc01dc4aa hotspot/test/runtime/modules/Xpatch/XpatchDupJavaBase.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 */ diff -r df621fcf78e2 -r 9f4fc01dc4aa hotspot/test/runtime/modules/Xpatch/XpatchDupModule.java --- 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 */