< prev index next >

src/java.base/share/classes/jdk/internal/loader/URLClassPath.java

Print this page

        

*** 101,114 **** p = props.getProperty("jdk.net.URLClassPath.disableRestrictedPermissions"); DISABLE_ACC_CHECKING = p != null ? p.equals("true") || p.isEmpty() : false; // This property will be removed in a later release ! 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); } /* The original search path of URLs. */ private final ArrayList<URL> path; --- 101,117 ---- p = props.getProperty("jdk.net.URLClassPath.disableRestrictedPermissions"); DISABLE_ACC_CHECKING = p != null ? p.equals("true") || p.isEmpty() : false; // This property will be removed in a later release ! p = props.getProperty("jdk.net.URLClassPath.disableClassPathURLCheck"); DISABLE_CP_URL_CHECK = p != null ? p.equals("true") || p.isEmpty() : false; ! ! // Print a message for each Class-Path entry that is ignored (assuming ! // the check is not disabled). ! p = props.getProperty("jdk.net.URLClassPath.showIgnoredClassPathEntries"); ! DEBUG_CP_URL_CHECK = p != null ? p.equals("true") || p.isEmpty() : false; } /* The original search path of URLs. */ private final ArrayList<URL> path;
< prev index next >