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

JFileChooser can't navigate to an NTFS partition that is mounted as a folder

    XMLWordPrintable

    Details

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0_14"
      Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
      Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 RC

      A DESCRIPTION OF THE PROBLEM :
      This may happen on other versions of Windows, I only have this partition configuration on my 64-bit Windows 7 machine.

      I have a NTFS partition that is not mounted as a drive letter. It is mounted as a folder on another NTFS partition. (This is a supported feature of NTFS on Windows.)

      When navigating with a JFileChooser, it refuses to navigate into the mounted folder. E.g. C:\data is my mount point for a large NTFS partition. I can see "data" listed as a folder when I browse "C:\" with a JFileChooser, but I can't double click to enter the "data" folder.

      If I know another folder within the partition I can manually type the name and it will take me there. E.g. C:\data\video. At that point I can even navigate up one level so I am at "C:\data" where I wanted to go in the first place, and it works.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      - Mount a NTFS partition on a folder in another NTFS partition.
      - Use JFileChooser to try to navigate into the mounted partition.

      (Any Swing app with a JFileChooser will do - even NetBeans with it's customize file chooser can't navigate into the folder.)

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The folder should be traversable like any other.
      ACTUAL -
      Double clicking on the mounted NTFS folder does nothing. Manually entering the folder name with the keyboard doesn't work either. Only if you type a path that is one level deeper can you get to that partition.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Navigate to a deeper folder if you know one, then browse up to the parent folder.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            igor Igor Nekrestyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Imported:
              Indexed: