1.1 --- a/test/tools/javac/flow/tests/TestCaseIf.java Thu Sep 25 11:02:03 2014 -0700 1.2 +++ b/test/tools/javac/flow/tests/TestCaseIf.java Thu Sep 25 17:09:23 2014 -0700 1.3 @@ -58,4 +58,18 @@ 1.4 } 1.5 o = ""; 1.6 } 1.7 + 1.8 + @AliveRange(varName="finalLocal", bytecodeStart=11, bytecodeLength=6) 1.9 + @AliveRange(varName="used", bytecodeStart=13, bytecodeLength=4) 1.10 + void m5(Object o) { 1.11 + if (o != null) { 1.12 + Object notUsed; 1.13 + Object used; 1.14 + if (o != null) { 1.15 + final Object finalLocal = null; 1.16 + used = null; 1.17 + if (o == null) {} 1.18 + } 1.19 + } 1.20 + } 1.21 }