I tried to decompile this class (compiled with openjdk8)
public class UndefinedVariableTest {
public final int parseCharArray(final char[] s) {
int i;
for (i = 0; i < s.length; i++) {
final char c = s[i];
if (c != 'a' && c != 'b') {
break;
}
}
return i;
}
}
This is the result with latest git version
public class UndefinedVariableTest {
public final int parseCharArray(char[] s) {
int i = 0;
while (i < s.length && ((c = s[i]) == 'a' || c == 'b')) {
i++;
}
return i;
}
}
Variable c is undefined. Using the gui "c" can be renamed to "s" producing a name collision.
Same result with java-input and java-convert.
I tried to decompile this class (compiled with openjdk8)
This is the result with latest git version
Variable c is undefined. Using the gui "c" can be renamed to "s" producing a name collision. Same result with java-input and java-convert.