On Tue, 12 May 2026 04:41:01 GMT, Phil Race <[email protected]> wrote:
> java.awt.EventQueue is one of the few remaining places sun.awt.AppContext is > used. > No tests fail or need to be updated. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). src/java.desktop/share/classes/java/awt/EventQueue.java line 862: > 860: if (SunToolkit.currentEventQueue == topQueue) { > 861: SunToolkit.currentEventQueue = newEventQueue; > 862: } Suggestion: if (SunToolkit.currentEventQueue == topQueue) { SunToolkit.currentEventQueue = newEventQueue; } ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/31130#discussion_r3232795198
