8192885: Compiler in JDK 10-ea+33 misses to include entry in LineNumberTable for goto instruction of foreach loop
Reviewed-by: mcimadamore
/* /nodynamiccopyright/ */
public class TestCaseForEach {
@AliveRange(varName="o", bytecodeStart=25, bytecodeLength=11)
@AliveRange(varName="o", bytecodeStart=41, bytecodeLength=1)
void m(String[] args) {
Object o;
for (String s : args) {
o = "";
o.hashCode();
}
o = "";
}
}