RFR 8029852 and 8029725: lambda instantiates enclosing local class

Robert Field robert.field at oracle.com
Wed Apr 30 00:10:01 UTC 2014


Please review compiler (javac) fix for:

https://bugs.openjdk.java.net/browse/JDK-8029852
https://bugs.openjdk.java.net/browse/JDK-8029725

Webrev:

http://cr.openjdk.java.net/~rfield/8029852and8029725/ 
<http://cr.openjdk.java.net/%7Erfield/8029852and8029725/>

8029852: Bad code generated (VerifyError) when lambda instantiates 
enclosing local class and has captured variables. Add special capture 
handling.
8029725: Lambda reference to containing local class causes javac 
infinite recursion. Add tracking of processed classes to prevent looping.

Thanks,
Robert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140429/812339f2/attachment.html>


More information about the compiler-dev mailing list