Skip to content

Commit

Permalink
simplify system property check
Browse files Browse the repository at this point in the history
  • Loading branch information
jaikiran committed Dec 5, 2024
1 parent c6f5872 commit b2d8bfe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public class URLClassPath {
String p = props.getProperty("sun.misc.URLClassPath.disableJarChecking");
// JAR check is disabled by default and will be enabled only if the "disable JAR check"
// system property has been set to "false".
JAR_CHECKING_ENABLED = p != null && p.equals("false");
JAR_CHECKING_ENABLED = "false".equals(p);

// This property will be removed in a later release
p = props.getProperty("jdk.net.URLClassPath.disableClassPathURLCheck");
Expand Down

0 comments on commit b2d8bfe

Please sign in to comment.