JDK-4858226 : REGRESSION: User can not enter "C:\My Documents" directory using JFileChooser
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.2,5.0
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_98
  • CPU: x86
  • Submitted: 2003-05-05
  • Updated: 2003-09-15
  • Resolved: 2003-05-12
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.
1.4.2 b23Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  

Name: iaR10016			Date: 05/04/2003

Filed By : J2SE-SQA [###@###.###
JDK      : JDK1.4.2-b21, JDK1.5.0-b05
           (not reproducible with JDK1.4.1)
Platform : Windows 98

User can not enter "C:\My Documents" directory using JFileChooser on Windows 98.
Please, compile and run the following test example and try to enter into "C:\My Documents"
to reproduce the bug:

--------- test.java ---------
import javax.swing.*;
public class test {
 public static void main(String[] args) {
     (new JFileChooser()).showOpenDialog(new JFrame());

JFileChooser shows "C:\My Document" directory as a file and does not allow user to enter there.

Please, note that JFileChooser works correctly with "Desctop\My Documents" folder which points
to the same place.

I am not able to reproduce the failure on another Windows systems.

Specific machine info:
Hostname: linux-17
OS: Windows 98 SE


CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis-rc tiger FIXED IN: mantis-rc tiger INTEGRATED IN: mantis-b23 mantis-rc tiger tiger-b09 VERIFIED IN: mantis tiger

EVALUATION This was caused by fix 4712307, which was integrated into 1.4.2b17. The problem doesn't happen when running with b16 or with the fix disabled using -Dswing.disableFileChooserSpeedFix. ###@###.### 2003-05-05 Probably caused further by fix to bug 4827865, which introduced test for variable isPersonal in Win32ShellFolder2.isDirectory. Now using equals(Win32ShellFolderManager2.getPersonal()) instead. ###@###.### 2003-05-07