JDK-4922476 : JFileChooser behaves incorrectly with "My Documents" on Windows 98
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_98
  • CPU: x86
  • Submitted: 2003-09-15
  • Updated: 2011-07-07
  • Resolved: 2011-07-07
Related Reports
Relates :  
Relates :  
Relates :  
Description

Name: iaR10016			Date: 09/15/2003


Filed By : J2SE-SQA [###@###.###
JDK      : JDK1.5.0-b19
            (unable to reproduce with previous JDK1.5.0 builds because of bugs 4895864, 4912839)
Platform : Windows 98

JFileChooser behaves incorrectly when user tries to work with "My Documents"
directory with JDK1.5.0-b19 on Windows 98.

Please, compile and run the following test example to reproduce the failure:

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

1. Enter "Desktop\My Documents" folder.
    Click "Up one level" button.
    Current folder becomes "Desktop".
    This is correct behaviour.

2. Click "Look in" arrow and select "C:" in "Look in" popup.
    Current folder is "C:".

3. Click "My Documents" in files and folders list for "C:" and enter "C:\My Documents" directory.
    It is expected that currecn folder becomes "C:\My Documents", but if you click "Look in"
    arrow, you will see that "Desktop\My Documents" folder is highlighted as current.
    Please, note that if you click "Up one level" button now, you enter "C:" folder (not "Desktop").

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

Please, see bug 4858226 for more details.

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

======================================================================

Comments
EVALUATION Windows 98 is not a supported OS
07-07-2011

EVALUATION ...
25-09-2004