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

Mon, 23 Sep 2013 17:27:38 +0400

author
kizune
date
Mon, 23 Sep 2013 17:27:38 +0400
changeset 2048
809a50f24d6f
parent 0
959103a6100f
child 2709
dca7f60e618d
permissions
-rw-r--r--

7154966: CRs found to be in Fixed state with no test and no noreg- keyword.
Reviewed-by: ksrini

     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