RFR: 8372635: Lambdas do not copy over SYNTHETIC flag for local variables [v2]

Vicente Romero vromero at openjdk.org
Thu Dec 11 14:11:35 UTC 2025


On Thu, 11 Dec 2025 13:55:18 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

>> yep I originally misread the code. I'm also wondering now why we didn't pass all the original flags to the new symbol. We should probably check what breaks if all the flags are just passed
>
> Good question whether we can copy all flags. I went through the flags, and there's nothing I would know would be problematic (the flag would need to be significant for the backend/codegen, and there's very limited number of such flags). Tests also seem fine with copying all flags, so I've adjusted the PR to copy all flags.
> 
> Thanks!

nice, thanks for doing the experiment

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28724#discussion_r2610734417


More information about the compiler-dev mailing list