Use pre-JDK9 style FilePermissions on JDK9 when running from start scripts

This commit is contained in:
Yannick Welsch 2016-11-14 19:52:35 +01:00
parent ea65a01789
commit 6f69f54216
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@
# use our provided JNA always versus the system one # use our provided JNA always versus the system one
-Djna.nosys=true -Djna.nosys=true
# use old-style file permissions on JDK9
-Djdk.io.permissionsUseCanonicalPath=true
# flags to keep Netty from being unsafe # flags to keep Netty from being unsafe
-Dio.netty.noUnsafe=true -Dio.netty.noUnsafe=true
-Dio.netty.noKeySetOptimization=true -Dio.netty.noKeySetOptimization=true