Mon, 23 Sep 2013 17:27:38 +0400
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 TestCaseConditional { |
aoqi@0 | 4 | |
aoqi@0 | 5 | @AliveRange(varName="o", bytecodeStart=5, bytecodeLength=33) |
aoqi@0 | 6 | @AliveRange(varName="oo", bytecodeStart=23, bytecodeLength=15) |
aoqi@0 | 7 | void m(String[] args) { |
aoqi@0 | 8 | Boolean o; |
aoqi@0 | 9 | Boolean oo = ((o = Boolean.TRUE).booleanValue()) ? |
aoqi@0 | 10 | o = Boolean.TRUE : |
aoqi@0 | 11 | Boolean.FALSE; |
aoqi@0 | 12 | oo.hashCode(); |
aoqi@0 | 13 | o = Boolean.FALSE; |
aoqi@0 | 14 | o.hashCode(); |
aoqi@0 | 15 | } |
aoqi@0 | 16 | } |