зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
464725e9f2
Коммит
006a1dcfc1
|
@ -1725,7 +1725,7 @@ public class Interpreter
|
|||
if (!(start <= pc && pc < end)) {
|
||||
continue;
|
||||
}
|
||||
if (onlyFinally && exceptionTable[i + EXCEPTION_TYPE_SLOT] == 1) {
|
||||
if (onlyFinally && exceptionTable[i + EXCEPTION_TYPE_SLOT] != 1) {
|
||||
continue;
|
||||
}
|
||||
if (best >= 0) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче