test/langtools/tools/javac/flow/tests/TestCaseForEach.java
changeset 48504 25732365355c
parent 48082 d8c634b016c6
equal deleted inserted replaced
48503:2e5226ca1329 48504:25732365355c
     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=41, bytecodeLength=1)
     6     @AliveRange(varName="o", bytecodeStart=39, 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();