mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Fixing recent bad typo in exception handler search that caused to ignore finally handlers and check only catch blocks with finally-only exceptions.
This commit is contained in:
parent
464725e9f2
commit
006a1dcfc1
@ -1725,7 +1725,7 @@ public class Interpreter
|
|||||||
if (!(start <= pc && pc < end)) {
|
if (!(start <= pc && pc < end)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (onlyFinally && exceptionTable[i + EXCEPTION_TYPE_SLOT] == 1) {
|
if (onlyFinally && exceptionTable[i + EXCEPTION_TYPE_SLOT] != 1) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (best >= 0) {
|
if (best >= 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user