RFR: 8134759: jdb: Incorrect stepping inside finally block

Andreas Eriksson andreas.eriksson at oracle.com
Thu Oct 22 09:41:10 UTC 2015


Hi,

Please review this change to javac, which fixes line number mappings for 
non-void returns inside a try-finally.
The pending line number was already saved and restored for void returns, 
but not for methods where the return had a value.
This change adds the save and restore of the line number for non-void 
returns as well.

Bug: 8134759 <https://bugs.openjdk.java.net/browse/JDK-8134759>: jdb: 
Incorrect stepping inside finally block
Webrev: http://cr.openjdk.java.net/~aeriksso/8134759/webrev.00/

Regards,
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20151022/25f85d67/attachment.html>


More information about the compiler-dev mailing list