JDK-4810039 : FileSystemView.isFileSystem(File) has inadequate javadoc
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0,1.4.1
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_7,windows_xp
  • CPU: x86,sparc
  • Submitted: 2003-01-29
  • Updated: 2003-02-04
  • Resolved: 2003-02-04
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
1.4.2 b16Fixed
Related Reports
Duplicate :  
Relates :  
Description
From the customer:

I have spent the last 3
>       days trying to figure out why JFileChooser.DIRECTORIES_ONLY would not
+work with my extended model.  I finally tracked it down to the
>       FilesystemView.isFileSystem(File) call.  The documentation does not
+explain (at all) what this method was expected to return. As such, I had been
+returning
>       false.  The visible effect was that no matter how much code you put in,
+selecting a directory always changed the button to "OPEN", instead of the
>       approveButtonText.  Once I changed FilesystemView.isFileSystem(File) to
+return file.isDirectory(), it seems to work OK now.


Customer adds that it appears isFileSystem javadoc comment is fine, it just
isn't getting generated for some reason. Perhaps there are other javadoc errors
in the file that are causing javadoc not to correctly parse it.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis-beta FIXED IN: mantis-beta INTEGRATED IN: mantis-b16 mantis-beta
14-06-2004

EVALUATION Several comments in FileSystemView.java are missing the initial double asterisks that are required for javadoc. ###@###.### 2003-01-29
29-01-2003