Skip to content

Commit

Permalink
Work-around JDK-8317609 (jdk.jcmd module doesn't verify)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerboaa committed Oct 5, 2023
1 parent 4d471e0 commit 2e73e30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/jdk/tools/jlink/JmodLess/SystemModulesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ public static void main(String[] args) throws Exception {
@Override
void runTest(Helper helper) throws Exception {
// create an image with a module containing a main entrypoint (jdk.httpserver),
// thus producing the SystemModules$0.class. Add jdk.jcmd as a module which
// thus producing the SystemModules$0.class. Add jdk.jdwp.agent as a module which
// isn't resolved by default, so as to generate SystemModules$default.class
Path javaseJmodless = createJavaImageJmodLess(new BaseJlinkSpecBuilder()
.helper(helper)
.name("httpserver-jlink-jmodless-derived")
.addModule("jdk.httpserver")
.addModule("jdk.jcmd")
.addModule("jdk.jdwp.agent")
.addModule("jdk.jlink")
.validatingModule("java.base")
.addExtraOption("--run-image-ignore-single-hop")
Expand Down

0 comments on commit 2e73e30

Please sign in to comment.