RFR: 8316931: [macos14] Test "java/awt/TrayIcon/ShowAfterDisposeTest/ShowAfterDisposeTest.html" throws and exception on Mac OS 14(x64, aarch64) [v4]

Andrey Turbanov aturbanov at openjdk.org
Mon Jan 15 07:35:26 UTC 2024


On Fri, 12 Jan 2024 22:18:04 GMT, Alisen Chung <achung at openjdk.org> wrote:

>> SunToolkit.java is trying to post an event on the TrayIcon appContext, but the TrayIcon was already removed by the test, causing an error. The fix is to make SunToolkit skip posting the event if appContext is null. The test is also updated to remove applet usage and use PassFailJFrame instead.
>
> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   used jtreg.SkippedException, updated copyright years

test/jdk/java/awt/TrayIcon/ShowAfterDisposeTest.java line 85:

> 83:             frame.setLayout(new BorderLayout());
> 84: 
> 85:             frame.setSize(200,200);

Suggestion:

            frame.setSize(200, 200);

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17329#discussion_r1452008059


More information about the client-libs-dev mailing list