8211731: Reconsider default option for ClassPathURLCheck change done in JDK-8195874
authorbchristi
Fri, 05 Oct 2018 15:12:37 -0700
changeset 52172 f54dcfc5a5f8
parent 52171 0da586f1ed05
child 52173 e4b9475b0508
8211731: Reconsider default option for ClassPathURLCheck change done in JDK-8195874 Reviewed-by: alanb, mchung
src/java.base/share/classes/jdk/internal/loader/URLClassPath.java
--- a/src/java.base/share/classes/jdk/internal/loader/URLClassPath.java	Wed Aug 08 08:05:43 2018 +0800
+++ b/src/java.base/share/classes/jdk/internal/loader/URLClassPath.java	Fri Oct 05 15:12:37 2018 -0700
@@ -103,7 +103,7 @@
         DISABLE_ACC_CHECKING = p != null ? p.equals("true") || p.equals("") : false;
 
         // This property will be removed in a later release
-        p = props.getProperty("jdk.net.URLClassPath.disableClassPathURLCheck");
+        p = props.getProperty("jdk.net.URLClassPath.disableClassPathURLCheck", "true");
 
         DISABLE_CP_URL_CHECK = p != null ? p.equals("true") || p.isEmpty() : false;
         DEBUG_CP_URL_CHECK = "debug".equals(p);