<i18n dev> RFR: 8378385: Remove AppContext from AWT Windows implementation classes
Damon Nguyen
dnguyen at openjdk.org
Wed Feb 25 18:37:22 UTC 2026
On Sat, 21 Feb 2026 20:27:45 GMT, Phil Race <prr at openjdk.org> wrote:
> Remove most uses of AppContext from Windows AWT classes.
> No existing tests fail with this change.
src/java.desktop/windows/classes/sun/awt/windows/WInputMethod.java line 605:
> 603: TextHitInfo.leading(caretPos),
> 604: TextHitInfo.leading(visiblePos));
> 605: WToolkit.postEvent(WToolkit.targetToAppContext(source), event);
Does this not need to be updated similarly to WToolkit.postEvent(source, ...)?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29858#discussion_r2854689329
More information about the i18n-dev
mailing list