equal
deleted
inserted
replaced
81 static { |
81 static { |
82 String value = System.getProperty("jdk.system.module.finder.disableFastPath"); |
82 String value = System.getProperty("jdk.system.module.finder.disableFastPath"); |
83 if (value == null) { |
83 if (value == null) { |
84 USE_FAST_PATH = true; |
84 USE_FAST_PATH = true; |
85 } else { |
85 } else { |
86 USE_FAST_PATH = (value.length() > 0) && !Boolean.parseBoolean(value); |
86 USE_FAST_PATH = !value.isEmpty() && !Boolean.parseBoolean(value); |
87 } |
87 } |
88 } |
88 } |
89 |
89 |
90 // cached ModuleFinder returned from ofSystem |
90 // cached ModuleFinder returned from ofSystem |
91 private static volatile ModuleFinder cachedSystemModuleFinder; |
91 private static volatile ModuleFinder cachedSystemModuleFinder; |