Skip to content

Commit 9608e55

Browse files
Fix recursion error 2
1 parent 7632484 commit 9608e55

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
@@ -263,7 +263,7 @@ public static boolean isServiceAllowed(Service service) {
263263
*/
264264
public static boolean canServiceBeRegistered(Service service) {
265265
if (securityEnabled) {
266-
if (!profileHashChecked) {
266+
if (!(profileHashChecked || isJarVerifierinStackTrace())) {
267267
profileHashChecked = true;
268268
checkHashValues();
269269
}

0 commit comments

Comments
 (0)