JDK-8333403 : Write a test to check various components events are triggered properly
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-06-03
  • Updated: 2025-02-21
  • Resolved: 2024-09-26
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 21 JDK 24 JDK 8
11.0.27-oracleFixed 17.0.15-oracleFixed 21.0.7-oracleFixed 24 b18Fixed 8u451Fixed
Related Reports
Causes :  
Relates :  
Relates :  
Description
This testcase checks for the following assertions for Component events:

1. When components are resized, moved, hidden and shown the respective events are triggered.
2. When the components are hidden/disabled also,the component events like resized/moved are triggered.
3. When a hidden component is hidden again, or a visible component is shown again, the events should not be fired.
4. When a window is minimized/restored then hidden and shown component events should be triggered.

Testing:
Tested using Mach5(20 times per platform) in macos,linux and windows and got all pass.
Comments
Fix request [21u,17u] I backport this for parity with 21.0.7-oracle,17.0.15-oracle. No risk, only a test change. Clean backport. Test passes. SAP nightly testing passed.
14-01-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/3207 Date: 2025-01-13 09:51:21 +0000
13-01-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1324 Date: 2025-01-13 09:51:14 +0000
13-01-2025

Changeset: a02d895f Branch: master Author: Ravi Gupta <rgupta@openjdk.org> Committer: Alexey Ivanov <aivanov@openjdk.org> Date: 2024-09-26 16:31:31 +0000 URL: https://git.openjdk.org/jdk/commit/a02d895f7ad59fe33f8a761dbd7bceb0b8dfefc0
26-09-2024

Differences in behaviour around iconify/deiconify on Windows are discussed in JDK-6754618 and JDK-8209035.
20-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/19521 Date: 2024-06-03 12:22:53 +0000
09-07-2024