test/tools/javac/flow/tests/TestCaseDoLoop.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
permissions
-rw-r--r--

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

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

mercurial