JDK-8294157 : Handler for the close button on test UI windows / frames
  • Type: Bug
  • Component: client-libs
  • Affected Version: 11,17,19,20
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2022-09-22
  • Updated: 2024-09-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.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
The close button on test UI windows / frames that would be obtained via a factory method which would fail the test and dispose the UI. Currently it is to be handled by each test but usually missed/remains handled at test-level.
Comments
This is basically handled by JDK-8294156. When a list of test windows is passed to the builder, all these windows are associated with the internal windowClosing() handler. However, to be able to add this handler to arbitrary windows, a public method returning the handler is needed. This is not implemented.
13-09-2023