Skip to content

Commit

Permalink
Set -Djdk.module.illegalAccess=deny
Browse files Browse the repository at this point in the history
Backport #4600 into this PR.

Set `-Djdk.module.illegalAccess=deny` in order to reduce warning in startup logs.
  • Loading branch information
cd2357 authored Oct 6, 2020
1 parent e409b49 commit 0b40dff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions desktop/package/package.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ task packageInstallers {
" --java-options -Xss1280k" +
" --java-options -XX:MaxRAM=4g" +
" --java-options -Djava.net.preferIPv4Stack=true" +
" --java-options -Djdk.module.illegalAccess=deny" +
// Options for creating the application package
" --license-file \"${licenseFilePath}\"" +
" --runtime-image \"${jdkForAppRuntimePath}\""
Expand Down

0 comments on commit 0b40dff

Please sign in to comment.