JDK-8283624 : Create an automated regression test for RFE-4390885
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8,11,17,18,19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-03-24
  • Updated: 2022-08-03
  • Resolved: 2022-04-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 19 JDK 8
11.0.17-oracleFixed 17.0.5-oracleFixed 19 b21Fixed 8u351Fixed
Related Reports
Relates :  
Description
Write a regression test for JDK-4390885 Enhancement Request.

Issue:
Please add the ability to set the location of a JFileChooser. This might be a
bug, but JFileChooser.setLocation() has no effect when
JFileChooser.showXXXXDialog() is called. This is becoming very important as the
popularity of multiple monitors is increasing. These dialogs show up on the
wrong monitor which is really annoying. Also due to bug #4189244 I am unable to
avoid painting problems by positioning the dialog away from the menu item that
initiated it.

Fix:
Now it's possible to set the location of Dialog in JFileChooser.

Testing:
1. Tested in Mach5 10 times per platform(macos,linux,windows) and got all Pass.

Comments
Fix request [11u,17u] I backport this for parity with 11.0.17,17.0.5-oracle. No risk, only a test change. Clean backport. Test passes. SAP nightly testing passed.
03-08-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/1305 Date: 2022-08-02 13:25:53 +0000
02-08-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/622 Date: 2022-08-02 13:20:01 +0000
02-08-2022

Changeset: 99388eff Author: Manukumar V S <mvs@openjdk.org> Committer: Abdul Kolarkunnu <akolarkunnu@openjdk.org> Date: 2022-04-29 04:09:55 +0000 URL: https://git.openjdk.java.net/jdk/commit/99388eff8da2cb3dc0bb34f05e8784795edb790e
29-04-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/7996 Date: 2022-03-28 14:17:17 +0000
28-03-2022