RFR: 8336492: Regression in lambda serialization [v3]
Maurizio Cimadamore
mcimadamore at openjdk.org
Mon Jul 29 10:01:32 UTC 2024
On Mon, 29 Jul 2024 09:40:09 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> > Some initial testing shows a regression in type annotation handling with this change.
>
> Thanks, I'll take a look
Ugh. This is quite ugly. The type annotation is seen, and correctly moved by `LambdaToMethod`. Unfortunately, the annotation seems to be added in _two_ places: in the local variable, and then in the synthetic constructor of `T`. We move the former, but not the latter.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20349#issuecomment-2255505164
More information about the compiler-dev
mailing list