# silence Java 9 illegal reflective access warnings

@{java.application.options}
This commit is contained in:
Reinhard Pointner 2018-02-27 15:42:11 +07:00
parent 34992dec3e
commit 335577587f
2 changed files with 4 additions and 12 deletions

View File

@ -66,6 +66,9 @@ deb.application.class: net-filebot-Main
# Commands
deb.application.action.import: filebot -script fn:amc --output "$HOME/Media" --action duplicate -non-strict --log-file "$HOME/Media/amc.log" --def excludeList="$HOME/Media/amc.excludes" unsorted=y music=y artwork=y
# Default Java Options
java.application.options: --illegal-access=permit --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.function=ALL-UNNAMED --add-opens=java.base/java.util.regex=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.nio.file=ALL-UNNAMED --add-opens=java.base/java.nio.file.attribute=ALL-UNNAMED --add-opens=java.base/java.nio.channels=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.logging/java.util.logging=ALL-UNNAMED
# Links
link.help.manpage: https://www.filebot.net/cli.html
link.help.synology: https://www.filebot.net/syno/support.html

View File

@ -39,18 +39,7 @@
-Dnet.filebot.AppUserModelID=@{microsoft.application.name}
# silence Java 9 illegal reflective access warnings
--illegal-access=warn
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.util.function=ALL-UNNAMED
--add-opens=java.base/java.util.regex=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/java.nio.file=ALL-UNNAMED
--add-opens=java.base/java.nio.file.attribute=ALL-UNNAMED
--add-opens=java.base/java.nio.channels=ALL-UNNAMED
--add-opens=java.base/java.nio.charset=ALL-UNNAMED
--add-opens=java.logging/java.util.logging=ALL-UNNAMED
@{java.application.options}
# support JAVA_OPTS environment variable
%JAVA_OPTS%