diff --git a/js/rhino/src/org/mozilla/javascript/Interpreter.java b/js/rhino/src/org/mozilla/javascript/Interpreter.java index 9f2109d83a9e..10fe0fd76321 100644 --- a/js/rhino/src/org/mozilla/javascript/Interpreter.java +++ b/js/rhino/src/org/mozilla/javascript/Interpreter.java @@ -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) {