JDK-8352753 : Positioning to be performed on EDT in PassFailJFrame
  • Type: Bug
  • Component: client-libs
  • Affected Version: 19
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-03-24
  • Updated: 2025-03-24
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
Causes :  
Relates :  
Description
The method positionTestWindow should be called on EDT, or rather the method should ensure that its code which modifies the position of windows and shows the instructions is performed on EDT.

https://github.com/openjdk/jdk/blob/b84b29278f710fabab703bc75dda1fa817bc13f6/test/jdk/java/awt/regtesthelpers/PassFailJFrame.java#L526
https://github.com/openjdk/jdk/blob/b84b29278f710fabab703bc75dda1fa817bc13f6/test/jdk/java/awt/regtesthelpers/PassFailJFrame.java#L532-L533
https://github.com/openjdk/jdk/blob/b84b29278f710fabab703bc75dda1fa817bc13f6/test/jdk/java/awt/regtesthelpers/PassFailJFrame.java#L506


Window listeners should be added on EDT, too.
https://github.com/openjdk/jdk/blob/b84b29278f710fabab703bc75dda1fa817bc13f6/test/jdk/java/awt/regtesthelpers/PassFailJFrame.java#L522-523