On Wed, 17 Jan 2024 18:49:06 GMT, Alisen Chung <[email protected]> wrote:
>> So what is the root cause of null context here? > > I'm checking to see if removing executeOnEventHandlerThread solves the issue. > In this test the source of the appcontext (trayIcon) is deleted via an > actionPerformed listener, so probably the deletion of the trayIcon comes > first then the mouseEvent is trying to be posted onto the trayIcon and > throwing an error if the SunToolkit.executeOnEventHandlerThread is removed, then the test doesn't throw an exception, but the icon doesn't disappear (test fails) ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/17329#discussion_r1456531020
