changeset 51347:8513ac27b651 jdk-11.0.1+13

8211731: Reconsider default option for ClassPathURLCheck change done in JDK-8195874 Reviewed-by: alanb, mchung
author bchristi
date Fri, 05 Oct 2018 15:05:45 -0700
parents a3b6f77c5378
children e0fb123fbe0b
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	Thu Oct 04 02:19:13 2018 -0700
+++ b/src/java.base/share/classes/jdk/internal/loader/URLClassPath.java	Fri Oct 05 15:05:45 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);