<i18n dev> RFR: 8377191: Remove AppContext from KeyboardFocusManager

Phil Race prr at openjdk.org
Wed Feb 4 20:42:40 UTC 2026


On Wed, 4 Feb 2026 20:33:12 GMT, Phil Race <prr at openjdk.org> wrote:

> Remove AppContext from KeyboardFocusManager

src/java.desktop/share/classes/sun/awt/SunToolkit.java line 429:

> 427:     }
> 428: 
> 429:     public static void postEvent(AWTEvent event) {

The non-app context versions of various SunToolkit methods will eventually replace the overloads with AppContext.
I'm adding similar overloads to other methods in other PRs that may be concurrent so please don't ask for a (c) year update - that'll just be a merge conflict.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29578#discussion_r2765892683


More information about the i18n-dev mailing list