changeset 51700:ae39e5a991ed

8207005: Disable the file canonicalization cache by default Reviewed-by: alanb, bpb
author bchristi
date Wed, 11 Jul 2018 14:32:42 -0700
parents 3312e730c791
children e0bce2635ec5
files src/java.base/share/classes/java/io/FileSystem.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/io/FileSystem.java	Wed Jul 11 21:41:43 2018 +0200
+++ b/src/java.base/share/classes/java/io/FileSystem.java	Wed Jul 11 14:32:42 2018 -0700
@@ -231,8 +231,8 @@
 
     // Flags for enabling/disabling performance optimizations for file
     // name canonicalization
-    static boolean useCanonCaches      = true;
-    static boolean useCanonPrefixCache = true;
+    static boolean useCanonCaches;
+    static boolean useCanonPrefixCache;
 
     private static boolean getBooleanProperty(String prop, boolean defaultVal) {
         return Boolean.parseBoolean(System.getProperty(prop,