JDK-8338571 : [TestBug] DefaultCloseOperation.java test not working as expected wrt instruction after JDK-8325851 fix
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8,21.0.6-oracle,23
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2024-08-19
  • Updated: 2025-02-03
  • Resolved: 2024-11-29
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.28-oracleFixed 17.0.16-oracleFixed 21-pool-oracleUnresolved 24 b27Fixed 8u461Fixed
Related Reports
Causes :  
Description
Testsuite: Regression Manual
Product(s) tested:23.0. 1 b06
OS/architecture: Windows
OS specific: No

javax/swing/JFrame/DefaultCloseOperation.java test not working as expected wrt Instruction

After JDK-8325851 fix TestFrame and TestDailog is loaded by default when test start which is not expected.

Expected: TestFrame/TestDailog should load after user clicking on OpenFrame/OpenDailog button.

PFA screenshot
Comments
Fix request [21u,17u] I backport this for parity with 21.0.8-oracle,17.0.16-oracle. No risk, only a test change. Clean backport. Test passes. SAP nightly testing passed.
31-01-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/3262 Date: 2025-01-30 14:06:08 +0000
30-01-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1380 Date: 2025-01-30 14:03:50 +0000
30-01-2025

Changeset: 8858de39 Branch: master Author: Sharath TN <sharath.tn@oracle.com> Committer: Alexey Ivanov <aivanov@openjdk.org> Date: 2024-11-29 12:27:06 +0000 URL: https://git.openjdk.org/jdk/commit/8858de393a5cb4f9f1150a6cdf388266362a9559
29-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21061 Date: 2024-09-18 13:23:32 +0000
21-10-2024