src/share/classes/com/sun/tools/javac/jvm/Gen.java

changeset 2406
372fd7283bf0
parent 2376
12f99d1f23d9
child 2525
2eb010b6cb22
child 2534
71a31843f550
child 2638
380e69eaf892
     1.1 --- a/src/share/classes/com/sun/tools/javac/jvm/Gen.java	Wed May 28 11:07:07 2014 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/javac/jvm/Gen.java	Thu May 29 15:28:01 2014 +0100
     1.3 @@ -1811,8 +1811,7 @@
     1.4              genStat(tree.thenpart, env, CRT_STATEMENT | CRT_FLOW_TARGET);
     1.5              thenExit = code.branch(goto_);
     1.6              if (varDebugInfo && lvtRanges.containsKey(code.meth, tree.thenpart)) {
     1.7 -                code.closeAliveRanges(tree.thenpart,
     1.8 -                        thenExit != null && tree.elsepart == null ? thenExit.pc : code.cp);
     1.9 +                code.closeAliveRanges(tree.thenpart, code.cp);
    1.10              }
    1.11          }
    1.12          if (elseChain != null) {

mercurial