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 67462297362..05510ba77d4 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 @@ -438,7 +438,7 @@ public static void checkSetSecurityProperty(String key) { + "properties to be set, use '-Dsemeru.fips.allowsetproperties=true'."); debug.println("BEWARE: You might not be FIPS compliant if you select to override!"); } - throw new SecurityException("FIPS mode: User-specified '" + key + throw new SecurityException("FIPS mode: Property '" + key + "' cannot be set programmatically when in FIPS mode."); }