Integrated: 8292975: javac produces code that crashes with LambdaConversionException

Srikanth Adayapalam sadayapalam at openjdk.org
Fri Oct 7 04:23:29 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

This pull request has now been integrated.

Changeset: cf84c8ea
Author:    Srikanth Adayapalam <sadayapalam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cf84c8eaf265255b49293650b3919f22e26d48a3
Stats:     107 lines in 3 files changed: 106 ins; 0 del; 1 mod

8292975: javac produces code that crashes with LambdaConversionException
8269983: BootstrapMethodError with method reference and intersection type

Reviewed-by: dlsmith, vromero

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

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


More information about the compiler-dev mailing list