Skip to content

Commit e0da9d1

Browse files
Fix error
1 parent 7008156 commit e0da9d1

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
@@ -888,7 +888,7 @@ boolean isRestrictedServiceAllowed(Service service, boolean isServiceAdded) {
888888
int stackElemEnd = stackElemFullClassName.lastIndexOf(".");
889889
String stackElemPackage = null;
890890
if (stackElemEnd != -1) {
891-
stackElemPackage = stackElemFullClassName.substring(0, );
891+
stackElemPackage = stackElemFullClassName.substring(0, stackElemEnd);
892892
}
893893
String module;
894894
switch (option) {

0 commit comments

Comments
 (0)