JDK-8207938 : At step6,Click Add button,case failed automatically.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 11,12,13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2018-07-18
  • Updated: 2020-09-21
  • Resolved: 2019-02-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13
11.0.10-oracleFixed 13 b09Fixed
Description
Testsuite name: Regression manual
Test name(s):java/awt/TrayIcon/TrayIconTest.html
Product(s) tested: JDK11.0.1b01 (64bit)
OS/architecture: mac10.13 x64(MacBook Pro(Retina, 13-inch, Late 2013)/Processor:2.4 GHz Intel Core i5/Memory:4 GB 1600 MHz DDR3)/jtreg4.2b12

Actual behavior:
1.Step1~5: Test pass
2.step6,Click Add button,case failed automatically as java.lang.NullPointerException .Please refer to TrayIconTest.jpg.
Comments
jdk11 downport request I would like to have the patch in jdk11 as well, because the issue should be present there too. The patch applies cleanly.
13-02-2020

Review mail link: https://mail.openjdk.java.net/pipermail/awt-dev/2019-February/014983.html
06-02-2019

Hi Victor, The issue was introduced in JDK 11 while working on enhancement 8029250. It can't be reproduced in JDK 8/8u as gif images were not working on tray icon before the enhancement 8029250. gif image support for tray icon was added in enhancement 8029250. Root cause of failure is identified, a fix will be send shortly.
05-02-2019

[~mhalder] is it introduced in 11? did you try to reproduce it on 8/8u?
05-12-2018

[~mhalder] is it a test bug?
04-12-2018