RFR (javac) 8029558: VerifyError: Bad return type when lambda's body is in parentheses
jonathan.gibbons at oracle.com
Fri Dec 6 13:46:41 PST 2013
Is this for jdk8/tl? If so, then compiler-dev would be a better forum.
The two tests look very similar. Are they materially different?
On 12/06/2013 01:45 PM, Robert Field wrote:
> Please review compiler (javac) fix for:
> Fix is to correctly treat the lambda body as a value returning entity
> rather than a void entity so that that the correct type converting
> casts are generated. This is done by passing the erased type rather
> than null as the expected type.
More information about the lambda-dev