test/langtools/tools/javac/flow/tests/TestCaseForEach.java
changeset 48082 d8c634b016c6
parent 47864 e29ae57c6421
child 48504 25732365355c
equal deleted inserted replaced
48081:89829dd3cc54 48082:d8c634b016c6
     1 /* /nodynamiccopyright/ */
     1 /* /nodynamiccopyright/ */
     2 
     2 
     3 public class TestCaseForEach {
     3 public class TestCaseForEach {
     4 
     4 
     5     @AliveRange(varName="o", bytecodeStart=25, bytecodeLength=11)
     5     @AliveRange(varName="o", bytecodeStart=25, bytecodeLength=11)
     6     @AliveRange(varName="o", bytecodeStart=44, bytecodeLength=1)
     6     @AliveRange(varName="o", bytecodeStart=41, bytecodeLength=1)
     7     void m(String[] args) {
     7     void m(String[] args) {
     8         Object o;
     8         Object o;
     9         for (String s : args) {
     9         for (String s : args) {
    10             o = "";
    10             o = "";
    11             o.hashCode();
    11             o.hashCode();