# 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 # 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 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 # Links
link.help.manpage: https://www.filebot.net/cli.html link.help.manpage: https://www.filebot.net/cli.html
link.help.synology: https://www.filebot.net/syno/support.html link.help.synology: https://www.filebot.net/syno/support.html

View File

@ -39,18 +39,7 @@
-Dnet.filebot.AppUserModelID=@{microsoft.application.name} -Dnet.filebot.AppUserModelID=@{microsoft.application.name}
# silence Java 9 illegal reflective access warnings # silence Java 9 illegal reflective access warnings
--illegal-access=warn @{java.application.options}
--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
# support JAVA_OPTS environment variable # support JAVA_OPTS environment variable
%JAVA_OPTS% %JAVA_OPTS%