<Swing Dev> [12] RFR JDK-8204963:javax.swing.border.TitledBorder has a memory leak

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Aug 7 05:27:56 UTC 2018


On 06/08/2018 22:05, Krishna Addepalli wrote:
> Hi Sergey,
> 
> AFAIK, lambdas are syntactic sugar for anonymous inner classes, so I think using a lambda may not help.

No, lambdas are implemented differently.

BTW I think it can be simplified in the same way as in this fix:
https://bugs.openjdk.java.net/browse/JDK-8175968
http://hg.openjdk.java.net/jdk10/master/rev/147cb4cf2556


-- 
Best regards, Sergey.



More information about the swing-dev mailing list