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

Regression : Incorrect warning during New Folder creation in Detail view

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7
    • Fix Version/s: 8
    • Component/s: client-libs
    • Labels:

      Description

      SYNOPSIS
      --------
      Incorrect warning during new folder creation in detail view

      OPERATING SYSTEM
      ----------------
      Likely Generic.
      Reported on Windows XP.
      Reproducible on Solaris x86.


      FULL JDK VERSION
      ----------------
      java version "1.7.0-ea"
      Java(TM) SE Runtime Environment (build 1.7.0-ea-b134)
      Java HotSpot(TM) Client VM (build 21.0-b04, mixed mode)

      Does not occur with Java 6.

      DESCRIPTION
      -----------
      When trying to rename a new folder after it is created in detail view of FileChooser a warning appears:

          "Cannot rename New Folder: A file with the name you specified
           already exists. Specify a different file name."

      The warning is incorrect. The folder IS actually created and renamed successfully.

      REPRODUCTION INSTRUCTIONS
      -------------------------
      1. Use SwingSet2 demo (Java -jar SwingSet2.jar), which is available in
         demo package
      2. Go to file chooser demo
      3. Click plain file chooser button
      4. Click on the detail view icon or button
      5. Click on 'create new folder' icon button
      6. You can see that a directory is created with the name 'New Folder'.
         You can change the name if you want to, but it's not necessary.
      7. Press Enter on the keyboard.
      8. You will see the incorrect warning appear. The folder will be created.

      WORKAROUND:
      -----------
      None

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rupashka Pavel Porvatov (Inactive)
              Reporter:
              dkorbel David Korbel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: