Type variable information is not always maintained for anonymous classes

David Holmes david.holmes at oracle.com
Sat Dec 8 11:03:07 UTC 2018

Hi Sergey,

Just FYI we're in the process of moving away from using anonymous 
classes for lambda's to using an extended Lookup.defineClass API - see:


this is being done under Project Valhalla, with current work in the 
nestmates branch.

We need to see how this example work in that case.


On 8/12/2018 9:53 am, Sergey wrote:
> Hi everyone,
> Recently I've stumbled upon this bug
> https://bugs.openjdk.java.net/browse/JDK-8213465
> which is named the same way as in the header of an email. I've done a
> little bit of
> investigation and keen to fix it. Though I'm afraid that most likely fix
> wouldn't be just
> a one-liner. Thus I want to ask for a little bit of a guidance and make
> sure, that I do not cross
> anyone else. With that being said, if ticket isn't in progress and no one
> minds I want to make
> an attempt on it.
> Thanks and regards,
> Sergei

More information about the core-libs-dev mailing list