8207005: Disable the file canonicalization cache by default
authorbchristi
Wed, 11 Jul 2018 14:32:42 -0700
changeset 51039 ae39e5a991ed
parent 51038 3312e730c791
child 51040 e0bce2635ec5
8207005: Disable the file canonicalization cache by default Reviewed-by: alanb, bpb
src/java.base/share/classes/java/io/FileSystem.java
--- 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,