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

The selected shortcut file doesn't show the correct file path

    Details

      Description

      JDK/JRE tested: jdk-7-ea-bin-b105-windows-i586-06_aug_2010.exe
      OS/architecture: x86
      Reproducible: Always
      Reproducible on machine: winxp-x86

      Steps to reproduce:
      case# Swing_JFileChooser/Manual/FileChooserManual


      instruction:

      Scenario1:
      1. Open file chooser demo by clicking on above given button.
      2. Select a shortcut of any file in windows system.
      3. Now Click on open button and verify the selected file shortcut information that shows up in a OptionPane.


      Scenario8:
      1. Select Just Select Files option in FileChooserDemo.
      2. Click on Show FileChooser button.
      3. Select a file shortcut on desktop which is not there in the network location(it means file has been deleted after shortcut had been created).
      4. Verify whether a valid exception throws or not.

      actual behavior:

      Scenario1:
      The selected shortcut file does not show the correct file path.(see FileChooserManual_1.png)

      And we also found in Scenario8:
      It does not throw a valid exception.(see FileChooserManual_8.png)

      exception:

      verify:
      same config use jdk7b103 : same issue
      windows-xp-x86 same config , same issue
      oel5.5-x86 same config , same issue

        Attachments

          Activity

            People

            • Assignee:
              kaddepalli Krishna Addepalli
              Reporter:
              tonyli Tony Li
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: