RFR: 8375567: Remove AppContext usage from Swing Motif L&F classes
Sergey Bylokhov
serb at openjdk.org
Mon Jan 19 00:07:58 UTC 2026
On Fri, 16 Jan 2026 22:57:55 GMT, Phil Race <prr at openjdk.org> wrote:
> Remove AppContext from the Swing Motif L&F implementation.
src/java.desktop/share/classes/javax/swing/plaf/metal/DefaultMetalTheme.java line 153:
> 151: * Returns the ideal font style for the font identified by key.
> 152: */
> 153: public static int getDefaultFontStyle(int key) {
This broke the build. It is part of public api now, is it intentional change?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29282#discussion_r2702884736
More information about the client-libs-dev
mailing list