RFR: 8365389: Remove static color fields from SwingUtilities3 and WindowsMenuItemUI [v4]
Phil Race
prr at openjdk.org
Tue Aug 19 20:12:40 UTC 2025
> This refactors some Swing code to pass args instead of using statics
> The bug report suggests some further refactoring which could be considered later, but the most
> important thing to do is to eliminate using statics to pass args.
> I've added one other suggestion from the bug report to have the windows case call SU3 directly rather than via newly added static methods, but for the basic case, I left the pre-existing private instance methods.
Phil Race has updated the pull request incrementally with one additional commit since the last revision:
8365389
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26783/files
- new: https://git.openjdk.org/jdk/pull/26783/files/1b676514..89d6bfc1
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26783&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26783&range=02-03
Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/26783.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26783/head:pull/26783
PR: https://git.openjdk.org/jdk/pull/26783
More information about the client-libs-dev
mailing list