fix missing parentheses in test to fix null pointer crash

This commit is contained in:
Julian Dolby 2014-01-07 17:34:35 -05:00
parent 1259ab929f
commit 1e2cc4bd6a
1 changed files with 1 additions and 1 deletions

View File

@ -1528,7 +1528,7 @@ public abstract class Compiler implements Constants {
// extractable method, because changing 'len' might mean we have more
// untouched stack elements. But we'll do this in a dumb way to avoid
// being caught in some N^2 loop looking for extractable code.
while (len > 0 && stackTypes[start + len] == null || stackTypes[start + len].length > untouchedStack) {
while (len > 0 && (stackTypes[start + len] == null || stackTypes[start + len].length > untouchedStack)) {
len--;
}
continue;