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

Wed, 08 Oct 2014 14:16:40 -0700

author
asaha
date
Wed, 08 Oct 2014 14:16:40 -0700
changeset 2586
f5e5ca7505e2
parent 0
959103a6100f
child 2709
dca7f60e618d
permissions
-rw-r--r--

Merge

     1 /* /nodynamiccopyright/ */
     3 public class TestCaseWhile {
     5     @AliveRange(varName="o", bytecodeStart=9, bytecodeLength=5)
     6     @AliveRange(varName="o", bytecodeStart=20, bytecodeLength=1)
     7     void m(String[] args) {
     8         Object o;
     9         while (args[0] != null) {
    10             o = "";
    11             o.hashCode();
    12         }
    13         o = "";
    14     }
    15 }

mercurial