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

Cannot open soft link with JFileChooser

    XMLWordPrintable

    Details

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0_21"
      Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
      Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7600]

      A DESCRIPTION OF THE PROBLEM :
      With the JFileChooser it's not possible to navigate to a soft link to a directory, when using Windows 7. Either a double click on the directory icon nor a click to the open button opens the directory.
      In contrast directly open this link (e.g. set the link as start folder) is possible.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Open a JFileChooser with a "real" directory as start folder.
      2. Navigate to a soft link and try to open it.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The Dialog shows the content of the directory.
      ACTUAL -
      Nothing happens.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      There is no error message

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Assuming the folder "c:\link" is a soft link to any other folder:

      1. Navigate to c:2. Enter link\a in the field filename and click on open.
      3. Reopen the JFileChooser

      Now the file chooser shows the content of the linked directory.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Imported:
              Indexed: