silence Java 9 illegal reflective access warnings

This commit is contained in:
Reinhard Pointner 2017-10-16 17:33:26 +02:00
parent dedc1d73b3
commit 6743c93ee1
1 changed files with 10 additions and 3 deletions

View File

@ -38,12 +38,19 @@
# force Application User Model ID for Windows Store
-Dnet.filebot.AppUserModelID=@{microsoft.application.name}
# disable Java 9 module encapsulation
# 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.io=ALL-UNNAMED
--add-opens=java.base/java.nio=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
%JAVA_OPTS%