Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4486911

Win2K: FileSystemView.isFileSystem(File) return false for the directories

XMLWordPrintable

    • hopper
    • x86
    • windows_2000
    • Verified


      ingrid.yao@Eng 2001-08-01

      J2SE Version (please include all output from java -version flag):
        java version "1.4.0-beta_refresh"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refres
        Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b72, mixed mode)

      Does this problem occur on J2SE 1.3? Yes / No (pick one)
       No.

      Operating System Configuration Information (be specific):
        Windows 2000, Fixpack 2, German(Same problem can be reproduced
        on Windows 2000 US version), but works fine on WinNT machine.

      Hardware Configuration Information (be specific):
        Intel PIII-866, 256 MB, ...

      Bug Description:
        javax.swing.filechooser.FileSystemView.isFileSystem(File)
        answers false for the ShellFolder "Eigene Dateien", which
        is "My Documents" in english. Since this folder is a true file system
        folder, an answer of true is expected instead.

      Steps to Reproduce (be specific):
        Open the JDK FileChooserDemo on Windows. Then
        choose to "select a directory" and open a Windows
        file chooser. One can't select folder "Eigene Dateien"
        ("My Documents" in english), instead it just navigates through
        the directory and lists out the subdirectories.

      ----------------------------------

      To test this on Windows:

      1. Start FileChooserDemo

      2. Click "Just Select Directories"

      3. Click "Show FileChooser"

      4. Make sure "My Documents" is selected (typically
         the default). This fails on 1.4.

      5. Click Ok.

      6. Verify that the message box says you selected the
         full path to the folder (varies by OS).


      Repeat test for the desktop folder instead of "My Documents"


      ###@###.### 2002-04-19

            leifs Leif Samuelsson (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: