diff --git a/closed/src/java.base/share/classes/openj9/internal/security/RestrictedSecurity.java b/closed/src/java.base/share/classes/openj9/internal/security/RestrictedSecurity.java index 9040166159f..0c8dc3c32ca 100644 --- a/closed/src/java.base/share/classes/openj9/internal/security/RestrictedSecurity.java +++ b/closed/src/java.base/share/classes/openj9/internal/security/RestrictedSecurity.java @@ -778,7 +778,7 @@ boolean isRestrictedServiceAllowed(Service service) { String cAlgorithm = constraint.algorithm; String cAttribute = constraint.attributes; - if (!isAsterisk(cType) && !type.equalsIgnoreCase(cType)) { + if (!isAsterisk(cType) && !type.equals(cType)) { // The constraint doesn't apply to the service type. continue; }