mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8207005: Disable the file canonicalization cache by default
Reviewed-by: alanb, bpb
This commit is contained in:
parent
dafb3af62d
commit
c7a1b6431d
1 changed files with 2 additions and 2 deletions
|
@ -231,8 +231,8 @@ abstract class FileSystem {
|
||||||
|
|
||||||
// Flags for enabling/disabling performance optimizations for file
|
// Flags for enabling/disabling performance optimizations for file
|
||||||
// name canonicalization
|
// name canonicalization
|
||||||
static boolean useCanonCaches = true;
|
static boolean useCanonCaches;
|
||||||
static boolean useCanonPrefixCache = true;
|
static boolean useCanonPrefixCache;
|
||||||
|
|
||||||
private static boolean getBooleanProperty(String prop, boolean defaultVal) {
|
private static boolean getBooleanProperty(String prop, boolean defaultVal) {
|
||||||
return Boolean.parseBoolean(System.getProperty(prop,
|
return Boolean.parseBoolean(System.getProperty(prop,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue