JDK-8193543 : Regression automated test '/open/test/jdk/java/awt/TrayIcon/SystemTrayInstance/SystemTrayInstanceTest.java' fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8,9,10,11
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux_ubuntu,solaris
  • CPU: x86
  • Submitted: 2017-12-08
  • Updated: 2024-06-04
  • Resolved: 2022-04-23
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 17 JDK 19 JDK 8
11.0.22-oracleFixed 17.0.10-oracleFixed 19 b20Fixed 8u431Fixed
Related Reports
Relates :  
Relates :  
Description
Testsuite: Regression-se-gui
Test name(s): java/awt/TrayIcon/SystemTrayInstance/SystemTrayInstanceTest.java
Product(s) tested: JDK 10-clien-nightly.132 (64bit)
OS/architecture: Ubuntu17.10 x64

Actual results:
The case SystemTrayInstanceTest failed automatically. 
Comments
The test started to fail after JDK-8322750 was integrated. As Alexander noted in the code review [1], it was assumed that SystemTray was supported in all the platforms. It's no longer the case. Eventually, Solaris is also affected, see JDK-8332428. [1] https://github.com/openjdk/jdk/pull/8346
17-05-2024

[jdk11u-fix-request] Approval Request from Amos “Backporting for parity with jdk 11.0.22-oracle. No risk, test fix. Unclean backport. SAP nightlies passed on 2023-12-23”
24-12-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2374 Date: 2023-12-13 18:39:11 +0000
13-12-2023

Fix request [17u] I backport this for parity with 17.0.10-oracle. No risk, only a test change. Clean backport. Test passes. SAP nightly testing passed.
22-09-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/1760 Date: 2023-09-21 11:59:01 +0000
21-09-2023

Changeset: 08024d95 Author: Alexander Zvegintsev <azvegint@openjdk.org> Date: 2022-04-23 20:41:55 +0000 URL: https://git.openjdk.java.net/jdk/commit/08024d9583d02398d986db0e9b32fe19a2b8fec2
23-04-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8346 Date: 2022-04-21 17:47:12 +0000
21-04-2022

This test fails on Ubuntu 18.04 LTS with jdk12. Attached is the jtreg report.
08-11-2018

This test passes for me on Ubuntu 16.04 .. so I suspect that the problem is a combination of the new Desktop environment on 17.10 and the optimistic test parameter which *assumes* that the SystemTray is supported. I expect this affects other JDK versions as well. So we should investigate why it fails on 17.10
14-12-2017