RFR: 8316931: [macos14] Test "java/awt/TrayIcon/ShowAfterDisposeTest/ShowAfterDisposeTest.html" throws and exception on Mac OS 14(x64, aarch64) [v4]
Sergey Bylokhov
serb at openjdk.org
Thu Jan 18 08:50:13 UTC 2024
On Wed, 17 Jan 2024 21:56:25 GMT, Alisen Chung <achung at openjdk.org> wrote:
>> 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)
then it should be checked what is going on there. The context should not just become null for the existing component.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17329#discussion_r1457110113
More information about the client-libs-dev
mailing list