8207005: Disable the file canonicalization cache by default
Reviewed-by: alanb, bpb
--- 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,