From 6f69f54216ea78824eaa25db8e401e36bce878ab Mon Sep 17 00:00:00 2001 From: Yannick Welsch Date: Mon, 14 Nov 2016 19:52:35 +0100 Subject: [PATCH] Use pre-JDK9 style FilePermissions on JDK9 when running from start scripts --- distribution/src/main/resources/config/jvm.options | 3 +++ 1 file changed, 3 insertions(+) diff --git a/distribution/src/main/resources/config/jvm.options b/distribution/src/main/resources/config/jvm.options index 63245f172bf..37c4d5b3c93 100644 --- a/distribution/src/main/resources/config/jvm.options +++ b/distribution/src/main/resources/config/jvm.options @@ -59,6 +59,9 @@ # use our provided JNA always versus the system one -Djna.nosys=true +# use old-style file permissions on JDK9 +-Djdk.io.permissionsUseCanonicalPath=true + # flags to keep Netty from being unsafe -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true