JDK-8327924 : Simplify TrayIconScalingTest.java
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 22
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-03-12
  • Updated: 2024-03-28
  • Resolved: 2024-03-21
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 23
23 b16Fixed
Related Reports
Relates :  
Relates :  
Description
The test/jdk/java/awt/TrayIcon/TrayIconScalingTest.java test uses PassFailJFrame and combines builder and positioning of the windows. Previously, calling PassFailJFrame.positionTestWindow was required to show the instructions; now the instructions are shown automatically after build() is called on the builder.

Moreover, using PassFailJFrame.positionTestWindow moves the instructions to the left of the screen. Since there's no test UI, the instructions could and should remain centered.
Comments
Changeset: 1496b5de Author: Alexey Ivanov <aivanov@openjdk.org> Date: 2024-03-21 16:02:17 +0000 URL: https://git.openjdk.org/jdk/commit/1496b5de9004c6a9e43ead5f6e9e88362028a7cc
21-03-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/18224 Date: 2024-03-12 08:33:41 +0000
12-03-2024