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

Alisen Chung achung at openjdk.org
Wed Jan 10 21:08:35 UTC 2024


> 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 two additional commits since the last revision:

 - spacing
 - updated test title, copyright year, removed redundant check

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17329/files
  - new: https://git.openjdk.org/jdk/pull/17329/files/171a1554..53629e25

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17329&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17329&range=00-01

  Stats: 8 lines in 1 file changed: 0 ins; 4 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/17329.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17329/head:pull/17329

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


More information about the client-libs-dev mailing list