mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Java: Fixed IOOBE in processing of sub-range of a control flow (IDEA-164442)
This commit is contained in:
@@ -1463,7 +1463,8 @@ public class ControlFlowUtil {
|
||||
// clear procedure text and return instructions aftewards
|
||||
int i;
|
||||
for (i = instruction.procBegin;
|
||||
i < instruction.procEnd || i < instructions.size() && instructions.get(i) instanceof ReturnInstruction; i++) {
|
||||
i < clientVisitor.processedInstructions.length &&
|
||||
(i < instruction.procEnd || i < instructions.size() && instructions.get(i) instanceof ReturnInstruction); i++) {
|
||||
clientVisitor.processedInstructions[i] = false;
|
||||
}
|
||||
clientVisitor.procedureEntered(instruction.procBegin, i);
|
||||
|
||||
Reference in New Issue
Block a user