File tree 1 file changed +3
-1
lines changed
closed/src/java.base/share/classes/openj9/internal/security
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 49
49
import java .util .stream .Collectors ;
50
50
import java .util .stream .Stream ;
51
51
52
+ import compiler .lib .ir_framework .driver .irmatching .irrule .constraint .Constraint ;
52
53
import sun .security .util .Debug ;
53
54
54
55
/**
@@ -345,9 +346,10 @@ private static void getProfileID(Properties props) {
345
346
}
346
347
String defaultMatch = null ;
347
348
boolean profileExists = false ;
349
+ String profilePrefix = potentialProfileID + '.' ;
348
350
for (Object keyObject : props .keySet ()) {
349
351
if (keyObject instanceof String key ) {
350
- if (key .startsWith (potentialProfileID + '.' )) {
352
+ if (key .startsWith (profilePrefix )) {
351
353
profileExists = true ;
352
354
if (key .endsWith (".desc.default" )) {
353
355
// Check if property is set to true.
You can’t perform that action at this time.
0 commit comments