RFR: 8376420: Remove AppContext from javax/swing/ImageIcon.java [v2]
Alexey Ivanov
aivanov at openjdk.org
Thu Jan 29 17:57:54 UTC 2026
On Thu, 29 Jan 2026 17:37:01 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> Component is an abstract class.
>
> Yeah, I missed it… I should've looked more thoroughly at the declaration of the `Component` class.
I wonder if creating a final static class extending `Component` is more efficient than creating two anonymous classes for the `component` file and for the media tracker. However, it's a micro-optimisation.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29433#discussion_r2742844283
More information about the client-libs-dev
mailing list