mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8145328: SEGV in DirectivesStack::getMatchingDirective
Loop until enabled directive is found Reviewed-by: kvn, twisti
This commit is contained in:
parent
0f67aad7af
commit
cd1d8e4304
1 changed files with 5 additions and 4 deletions
|
@ -561,10 +561,11 @@ DirectiveSet* DirectivesStack::getMatchingDirective(methodHandle method, Abstrac
|
|||
match = dir->_c1_store;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (match->EnableOption) {
|
||||
// The directiveSet for this compile is also enabled -> success
|
||||
break;
|
||||
} else {
|
||||
if (match->EnableOption) {
|
||||
// The directiveSet for this compile is also enabled -> success
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
dir = dir->next();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue