Merge pull request #4600 from chimp1984/avoid-illegal-reflective-access-operation-warning

Setting jvm option  `-Djdk.module.illegalAccess=deny`
This commit is contained in:
Christoph Atteneder 2020-10-06 09:50:53 +02:00 committed by GitHub
commit 36bc15df2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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" (