1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/tools/javac/flow/tests/TestCaseConditional.java Wed Apr 27 01:34:52 2016 +0800 1.3 @@ -0,0 +1,16 @@ 1.4 +/* /nodynamiccopyright/ */ 1.5 + 1.6 +public class TestCaseConditional { 1.7 + 1.8 + @AliveRange(varName="o", bytecodeStart=5, bytecodeLength=33) 1.9 + @AliveRange(varName="oo", bytecodeStart=23, bytecodeLength=15) 1.10 + void m(String[] args) { 1.11 + Boolean o; 1.12 + Boolean oo = ((o = Boolean.TRUE).booleanValue()) ? 1.13 + o = Boolean.TRUE : 1.14 + Boolean.FALSE; 1.15 + oo.hashCode(); 1.16 + o = Boolean.FALSE; 1.17 + o.hashCode(); 1.18 + } 1.19 +}