Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 71e30a8

Browse files
committedJan 27, 2025·
Fix debug message
1 parent 4441e97 commit 71e30a8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ boolean isRestrictedServiceAllowed(Service service, boolean isServiceAdded) {
881881
boolean found = false;
882882
for (StackTraceElement stackElement : stackElements) {
883883
if (debug != null) {
884-
debug.println("Attempting to match " + stackElement + " with: " + optionAndValue);
884+
debug.println("Attempting to match " + stackElement + " with: " + option + " : " + value);
885885
}
886886
String stackElemModule = stackElement.getModuleName();
887887
String stackElemFullClassName = stackElement.getClassName();
@@ -910,7 +910,6 @@ boolean isRestrictedServiceAllowed(Service service, boolean isServiceAdded) {
910910
found = stackElemFullClassName.equals(value);
911911
break;
912912
case "Package":
913-
914913
found = stackElemPackage.equals(value);
915914
break;
916915
default:

0 commit comments

Comments
 (0)
Please sign in to comment.