RFR: 8375567: Remove AppContext usage from Swing Motif L&F classes [v2]

Sergey Bylokhov serb at openjdk.org
Tue Jan 20 09:32:13 UTC 2026


On Mon, 19 Jan 2026 19:08:38 GMT, Phil Race <prr at openjdk.org> wrote:

>> Remove AppContext from the Swing Motif L&F implementation.
>
> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8375567

src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/MotifToggleButtonUI.java line 49:

> 47: public class MotifToggleButtonUI extends BasicToggleButtonUI
> 48: {
> 49:     private static final MotifToggleButtonUI MOTIF_TOGGLE_BUTTON_UI = new MotifToggleButtonUI();

Isn't it too repetitive? Motif… motif… motif…

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29282#discussion_r2707507016


More information about the client-libs-dev mailing list