Skip to content

Commit 1e4b769

Browse files
committed
fix problem when lauching JOSM with JDK17 and GraalJS
1 parent 9ed68ef commit 1e4b769

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testing/windows/josm.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,5 +179,6 @@ if (!$graalJs) {
179179
"-classpath", $josmJar, `
180180
"--module-path", "$graalJsHome\lib", `
181181
"--add-modules", "org.graalvm.sdk,org.graalvm.js,com.oracle.truffle.regex,org.graalvm.truffle", `
182+
"--add-opens", "java.prefs/java.util.prefs=ALL-UNNAMED", `
182183
"org.openstreetmap.josm.gui.MainApplication"
183184
}

0 commit comments

Comments
 (0)