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

Mon, 26 Oct 2015 13:23:30 -0700

author
asaha
date
Mon, 26 Oct 2015 13:23:30 -0700
changeset 2999
683b3e7e05a7
parent 2709
dca7f60e618d
permissions
-rw-r--r--

Added tag jdk8u76-b00 for changeset 10ffafaf5340

     1 /* /nodynamiccopyright/ */
     3 public class TestCaseWhile {
     5     @AliveRange(varName="o", bytecodeStart=9, bytecodeLength=8)
     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