RFR: 8364808: Make BasicDesktopPaneUI.Actions.MOVE_RESIZE_INCREMENT static

Sergey Bylokhov serb at openjdk.org
Wed Aug 6 08:16:18 UTC 2025


On Thu, 19 Jun 2025 08:25:53 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> Looks like no reasons for it to be instance field

I think we can unify the common patterns used by all these "Actions extends UIAction" classes to
"private final static XXX", but it will be good to check how the finals for String constants will affect the size of the classes.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25893#issuecomment-3081673366


More information about the client-libs-dev mailing list