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

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

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

Added tag jdk8u76-b00 for changeset 10ffafaf5340

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

mercurial