--- old/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/utils/XMLSecurityManager.java 2018-12-06 17:26:33.989549382 -0500 +++ new/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/utils/XMLSecurityManager.java 2018-12-06 17:26:33.817548529 -0500 @@ -528,14 +528,14 @@ private boolean getSystemProperty(Limit limit, String sysPropertyName) { try { String value = SecuritySupport.getSystemProperty(sysPropertyName); - if (value != null && !value.equals("")) { + if (value != null && !value.isEmpty()) { values[limit.ordinal()] = Integer.parseInt(value); states[limit.ordinal()] = State.SYSTEMPROPERTY; return true; } value = SecuritySupport.readJAXPProperty(sysPropertyName); - if (value != null && !value.equals("")) { + if (value != null && !value.isEmpty()) { values[limit.ordinal()] = Integer.parseInt(value); states[limit.ordinal()] = State.JAXPDOTPROPERTIES; return true;