Skip to content

Commit

Permalink
Merge pull request #4600 from chimp1984/avoid-illegal-reflective-acce…
Browse files Browse the repository at this point in the history
…ss-operation-warning

Setting jvm option  `-Djdk.module.illegalAccess=deny`
  • Loading branch information
ripcurlx authored Oct 6, 2020
2 parents fd65bcc + be204c4 commit 36bc15d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions desktop/package/linux/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ $JAVA_HOME/bin/javapackager \
-BjvmOptions=-Xss1280k \
-BjvmOptions=-XX:MaxRAM=4g \
-BjvmOptions=-Djava.net.preferIPv4Stack=true \
-BjvmOptions=-Djdk.module.illegalAccess=deny \
-outfile Bisq-$version \
-v

Expand Down
1 change: 1 addition & 0 deletions desktop/package/macosx/create_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ $JAVA_HOME/bin/javapackager \
-srcfiles "Bisq-$version.jar" \
-appclass bisq.desktop.app.BisqAppMain \
-outfile Bisq \
-BjvmOptions=-Djdk.module.illegalAccess=deny \
-v

open deploy
Expand Down
1 change: 1 addition & 0 deletions desktop/package/windows/package.bat
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ call "%JAVA_HOME%\bin\javapackager.exe" -deploy ^
-srcdir "%package_dir%" ^
-srcfiles %jar_filename% ^
-outfile Bisq ^
-BjvmOptions=-Djdk.module.illegalAccess=deny ^
-v

if not exist "%package_dir%\windows\Bisq-%version%.exe" (
Expand Down

0 comments on commit 36bc15d

Please sign in to comment.