RFR: 8292975: javac produces code that crashes with LambdaConversionException
Srikanth Adayapalam
sadayapalam at openjdk.org
Tue Oct 4 06:29:34 UTC 2022
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
-------------
Commit messages:
- 8292975: javac produces code that crashes with LambdaConversionException
Changes: https://git.openjdk.org/jdk/pull/10548/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10548&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8292975
Stats: 107 lines in 3 files changed: 106 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/10548.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10548/head:pull/10548
PR: https://git.openjdk.org/jdk/pull/10548
More information about the compiler-dev
mailing list