changeset 52172:f54dcfc5a5f8

8211731: Reconsider default option for ClassPathURLCheck change done in JDK-8195874 Reviewed-by: alanb, mchung
author bchristi
date Fri, 05 Oct 2018 15:12:37 -0700
parents 0da586f1ed05
children e4b9475b0508
files src/java.base/share/classes/jdk/internal/loader/URLClassPath.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);