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

JFileChooser - allowing to create a directory on a deleted directory

    XMLWordPrintable

Details

    • b22
    • x86
    • windows_xp
    • Not verified

    Description

      JFileChooser - allowing to create a directory on a deleted directory (deleted using the native Explorer).

      1. Open JFileChooser demo
      2. Open the Explorer
      3. Create the directory hirarchy for testing from the explorer c:\testDir\dir1\dir2
      4. From the JFileChooser browse to the directory dir2.
      5. Now delete the dir1 from the native Explorer.
      6. Switch to the JFileChooser demo, and try creating a directory dir3 (with parent dir2)

      Expected:

      Before creating a directory, JFileChooser should check whether the parent exists.

      Actual:

      JFileChooser is not checking whether the parent directory exists and creating the <New Folder> on the deleted dir1/dir2. And it is also recreating the whole hirerarchy again including the parent directories for the <New Folder> dir1 --> dir2.

      Noticed in b104, but was reproduceable in b59. Did any go back further considering the nature of this bug and other pending bugs on JFileChooser.

      Attachments

        Issue Links

          Activity

            People

              rupashka Pavel Porvatov (Inactive)
              ammanick Asha Manicka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: