Skip to content

Commit 7632484

Browse files
Fix recursion error
1 parent 2e49918 commit 7632484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

closed/src/java.base/share/classes/openj9/internal/security/RestrictedSecurity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ public static boolean isServiceAllowed(Service service) {
264264
public static boolean canServiceBeRegistered(Service service) {
265265
if (securityEnabled) {
266266
if (!profileHashChecked) {
267-
checkHashValues();
268267
profileHashChecked = true;
268+
checkHashValues();
269269
}
270270
return restricts.isRestrictedServiceAllowed(service, false);
271271
}

0 commit comments

Comments
 (0)