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

Alisen Chung achung at openjdk.org
Thu Feb 1 16:46:18 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:

  remove comment, remove null check in updateNativeImage

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17329/files
  - new: https://git.openjdk.org/jdk/pull/17329/files/96e0590d..edeb684a

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

  Stats: 7 lines in 1 file changed: 0 ins; 3 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