Integrated: 8316931: [macos14] Test "java/awt/TrayIcon/ShowAfterDisposeTest/ShowAfterDisposeTest.html" throws an exception on macOS 14(x64, aarch64)

Alisen Chung achung at openjdk.org
Mon Feb 12 18:07:11 UTC 2024


On Tue, 9 Jan 2024 21:06:50 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.

This pull request has now been integrated.

Changeset: 1e4b7017
Author:    Alisen Chung <achung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1e4b701749cc691e6eed110ab8c6dc5ec50e0cbb
Stats:     263 lines in 3 files changed: 20 ins; 203 del; 40 mod

8316931: [macos14] Test "java/awt/TrayIcon/ShowAfterDisposeTest/ShowAfterDisposeTest.html" throws an exception on macOS 14(x64, aarch64)

Reviewed-by: abhiscxk, kizune, serb

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

PR: https://git.openjdk.org/jdk/pull/17329


More information about the client-libs-dev mailing list