mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8211941: Enable checking/ignoring of non-conforming Class-Path entries
Reviewed-by: alanb, mchung
This commit is contained in:
parent
af5c78efff
commit
bd4dd311fd
1 changed files with 6 additions and 3 deletions
|
@ -103,10 +103,13 @@ public class URLClassPath {
|
|||
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");
|
||||
|
||||
p = props.getProperty("jdk.net.URLClassPath.disableClassPathURLCheck");
|
||||
DISABLE_CP_URL_CHECK = p != null ? p.equals("true") || p.isEmpty() : false;
|
||||
DEBUG_CP_URL_CHECK = "debug".equals(p);
|
||||
|
||||
// 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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue