Skip to content

Commit 333da9e

Browse files
authored
Merge pull request #307 from melissalinkert/reintroduce-add-opens
Reintroduce `--add-opens` default JVM option
2 parents 4eab2fc + 2a7b2f7 commit 333da9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ distributions {
101101
}
102102

103103
startScripts {
104+
defaultJvmOpts = ['--add-opens', 'java.base/java.lang=ALL-UNNAMED']
105+
104106
// placing logback.xml somewhere under src/dist/lib/ keeps it out of
105107
// bioformats2raw-*.jar but automatically includes it in the distribution zip
106108
// the directory containing logback.xml must be explicitly added to the

0 commit comments

Comments
 (0)