On Tue, 27 Jan 2026 04:23:33 GMT, Phil Race <[email protected]> wrote:

> AppContext is removed from Swing LAF state. Tests which require it are 
> deleted.

src/java.desktop/share/classes/javax/swing/plaf/metal/DefaultMetalTheme.java 
line 156:

> 154:         if (key != WINDOW_TITLE_FONT) {
> 155:             Object boldMetal = null;
> 156:             if 
> (SwingAccessor.getLAFStateAccessor().lafStateIsInitialized()) {

I'm sceptical that we can ever get here without the L&F initialized, but for 
now I'd prefer to try to keep the same behaviour.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29437#discussion_r2730191660

Reply via email to