Skip to content

Commit

Permalink
jlink: include the jdk.accessibility module to prevent a 'Failed to l…
Browse files Browse the repository at this point in the history
…aunch JVM' startup error if the Java Accessiblity Bridge is enabled
  • Loading branch information
bwRavencl committed Jan 6, 2024
1 parent 451302a commit 8a99036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ tasks.register('jlink', Exec) {
dependsOn check
group
doFirst { delete runtimeDir }
commandLine 'jlink', '--output', runtimeDir.get(), '--strip-debug', '--no-header-files', '--no-man-pages', '--strip-native-commands', '--add-modules', 'java.desktop,java.management,jdk.unsupported,java.logging,jdk.xml.dom'
commandLine 'jlink', '--output', runtimeDir.get(), '--strip-debug', '--no-header-files', '--no-man-pages', '--strip-native-commands', '--add-modules', 'java.desktop,java.management,jdk.unsupported,java.logging,jdk.accessibility,jdk.xml.dom'
}

tasks.register('copyLibs', Copy) {
Expand Down

0 comments on commit 8a99036

Please sign in to comment.