-
CSR
-
Resolution: Approved
-
P4
-
None
-
behavioral
-
minimal
-
Minimal - clarifying documentation change - no code changes.
-
Java API
-
SE
Summary
Better document that the default value returned by JFileChooser.isFileHidingEnabled()
could be derived from the operating system.
Problem
The documentation of the JFileChooser.isFileHidingEnabled()
says the default value is false, whereas in fact it may be determined by the settings in the underlying operating system.
Solution
Update the documentation specifying the default behavior of the method to clarify that the default value may be derived from the underlying operating system.
Specification
Class javax.swing.JFileChooser:
/**
* Returns true if hidden files are not shown in the file chooser;
- * otherwise, returns false.
+ * otherwise, returns false. The default value of this property may be
+ * derived from the underlying Operating System.
*
* @return the status of the file hiding property
* @see #setFileHidingEnabled
*/
public boolean isFileHidingEnabled() {
- csr of
-
JDK-6496103 isFileHidingEnabled return false by default
-
- Resolved
-