RFR: 8292975: javac produces code that crashes with LambdaConversionException

Dan Smith dlsmith at openjdk.org
Thu Oct 6 16:56:26 UTC 2022


On Tue, 4 Oct 2022 06:09:10 GMT, Srikanth Adayapalam <sadayapalam at openjdk.org> wrote:

> Ensure that when functional interface parameters involve intersection types,
>     we fold the method reference to a lambda expression to work around
>     limitations/constraints in lambda meta factory.
> 
>     Also fixes JDK-8269983

There may be some LambdaMetafactory changes coming, but not in the near future, and in the mean time, this should definitely be fixed—just a straightforward implementation bug, code not doing what it was intended to do.

-------------

PR: https://git.openjdk.org/jdk/pull/10548


More information about the compiler-dev mailing list