7047734: javac, the LVT is not generated correctly in several scenarios
Reviewed-by: jjg, mcimadamore
/* /nodynamiccopyright/ */
public class TestCaseForEach {
@AliveRange(varName="o", bytecodeStart=25, bytecodeLength=8)
@AliveRange(varName="o", bytecodeStart=39, bytecodeLength=1)
void m(String[] args) {
Object o;
for (String s : args) {
o = "";
o.hashCode();
}
o = "";
}
}