RFR: 8376627: Remove AppContext from javax/swing/plaf/metal classes [v2]
Phil Race
prr at openjdk.org
Tue Feb 3 20:26:15 UTC 2026
On Mon, 2 Feb 2026 23:12:17 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> The list is constant. The contents are added to.
>> I suppose (some day) something like a soft ref could be used, but I am not sure that there will ever be stale members to make it worthwhile or appropriate.
>> Either way, out of scope for this change.
>
> If it is not a constant should we still use BUMPS_LIST? By constant I mean something that does not change and we can return it from the methods as it is without cloning/etc. This looks like just a field stored as static final.
Ok I've changed the name to bumpsList
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29474#discussion_r2760834088
More information about the client-libs-dev
mailing list