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

Alisen Chung achung at openjdk.org
Tue Jan 16 22:11:19 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 one additional commit since the last revision:

  added suggested changes, moved test back into folder

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17329/files
  - new: https://git.openjdk.org/jdk/pull/17329/files/36ce7e1b..a9693565

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

  Stats: 26 lines in 1 file changed: 7 ins; 9 del; 10 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