JDK-8283642 : JavaDoc of JFileChooser() need to be updated for default directory in Windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8,11,17,18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-03-24
  • Updated: 2022-04-04
  • Resolved: 2022-03-31
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 19
19 masterFixed
Related Reports
Relates :  
Description
As per https://docs.oracle.com/en/java/javase/18/docs/api/java.desktop/javax/swing/JFileChooser.html#%3Cinit%3E(), "Constructs a JFileChooser pointing to the user's default directory. This default depends on the operating system. It is typically the "My Documents" folder on Windows, and the user's home directory on Unix.", but on Windows 10 and above the default directory is "Documents" folder now, so the Javadoc need to be updated accordingly.
Comments
Changeset: 0a9a7b6a Author: Prasanta Sadhukhan <psadhukhan@openjdk.org> Date: 2022-03-31 09:01:52 +0000 URL: https://git.openjdk.java.net/jdk/commit/0a9a7b6abc8d2c97b91c89eb842f483629132e43
31-03-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/7983 Date: 2022-03-28 07:34:52 +0000
28-03-2022