RFR: 8322810: Lambda expression types can't be classes [v7]

Vicente Romero vromero at openjdk.org
Fri Apr 11 15:40:39 UTC 2025


On Fri, 11 Apr 2025 15:14:19 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> If you want to go with the current code, that's fine by me. It just seemed a bit weird to have the same check in two different places. But we can also clean up in a follow up PR.

I think we will need a component by component check anyways in order to produce more precise error messages, either where it is now or where you are suggesting it to be, just dealing with a flag seems cleaner but won't be as precise I think

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24548#discussion_r2039801529


More information about the compiler-dev mailing list