On Sun, 22 Mar 2026 22:05:45 GMT, Phil Race <[email protected]> wrote:
> This is to address removing AppContext from various places in the AWT
> implementation.
>
> This most substantial is in various XAWT / Toolkit related classes to remove
> AppContext lookup in event dispatching and related code
>
> - An unused field of a native XAWT structure references the appContext field
> of a Component and so it is deleted
>
> - The same exists in windows, and although nothing to do with XAWT it is
> cleaned up here
>
> - one obsolete comment (no code change) is removed from a PerformanceLogger
> class
>
> No tests fail.
src/java.desktop/unix/classes/sun/awt/X11/XBaseMenuWindow.java line 919:
> 917: setDisposed(true);
> 918:
> 919: SunToolkit.invokeLater(new Runnable() {
Suggestion:
SunToolkit.invokeLater(new Runnable() {
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/30362#discussion_r2993520562