test/tools/javac/flow/tests/TestCaseForEach.java

Wed, 13 Aug 2014 14:50:00 -0700

author
katleman
date
Wed, 13 Aug 2014 14:50:00 -0700
changeset 2549
0b6cc4ea670f
parent 0
959103a6100f
child 2709
dca7f60e618d
permissions
-rw-r--r--

Added tag jdk8u40-b01 for changeset bf89a471779d

     1 /* /nodynamiccopyright/ */
     3 public class TestCaseForEach {
     5     @AliveRange(varName="o", bytecodeStart=25, bytecodeLength=8)
     6     @AliveRange(varName="o", bytecodeStart=39, bytecodeLength=1)
     7     void m(String[] args) {
     8         Object o;
     9         for (String s : args) {
    10             o = "";
    11             o.hashCode();
    12         }
    13         o = "";
    14     }
    15 }

mercurial