RFR (javac) 8029558: VerifyError: Bad return type when lambda's body is in parentheses
Robert Field
robert.field at oracle.com
Fri Dec 6 13:54:25 PST 2013
Please review compiler (javac) fix for:
https://bugs.openjdk.java.net/browse/JDK-8029558
Webrev:
http://cr.openjdk.java.net/~rfield/8029558v0/
<http://cr.openjdk.java.net/%7Erfield/8029558v0/>
Fix is to correctly treat the lambda body as a value returning entity
rather than a void entity so that the correct type converting casts are
generated. This is done by passing the erased type rather than null as
the expected type.
Thanks,
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20131206/8d27eeb1/attachment.html
More information about the compiler-dev
mailing list