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:
igor%mir2.org 2004-09-12 00:36:46 +00:00
Родитель 464725e9f2
Коммит 006a1dcfc1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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) {