<i18n dev> RFR: 8378204: Remove AppContext from two Swing UI classes

Phil Race prr at openjdk.org
Wed Feb 18 23:30:39 UTC 2026


On Wed, 18 Feb 2026 23:06:18 GMT, Phil Race <prr at openjdk.org> wrote:

> A couple of missed cases of removing AppContext from Swing UI classes and one dead import

src/java.desktop/share/classes/sun/awt/im/InputMethodManager.java line 38:

> 36: import java.awt.MenuItem;
> 37: import java.awt.Toolkit;
> 38: import sun.awt.AppContext;

This is (I admit) unrelated. But since I spotted it I've been looking for a PR where it might fit and haven't yet found one, so I'm including it here as It really does not merit the overhead of a PR for itself !

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29806#discussion_r2824876059


More information about the i18n-dev mailing list