Sat, 14 Sep 2013 19:04:47 +0100
7047734: javac, the LVT is not generated correctly in several scenarios
Reviewed-by: jjg, mcimadamore
1 /* /nodynamiccopyright/ */
3 public class TestCaseDoLoop {
5 @AliveRange(varName="o", bytecodeStart=3, bytecodeLength=15)
6 @AliveRange(varName="args", bytecodeStart=0, bytecodeLength=18)
7 void m(String[] args) {
8 Object o;
9 do {
10 o = "";
11 o.hashCode();
12 } while (args[0] != null);
13 o = "";
14 }
15 }