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

Windows Vista: JVM crash after dragging the file dialog opened by FileChooser or DirectoryChooser

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Incomplete
    • Affects Version/s: 7u21, 8u5
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      Window Vista Ultimate

      Description

      When you start dragging the file dialog opened by either 'FileChooser' or 'DirectoryChooser', JVM crashes. If I don't drag the file dialog, I can select files or directories and close the dialog. The selected files or directories get returned correctly. However, when I start dragging the application window afterwards, JVM crashes. Note that dragging application window works fine before using FileChooser or DirectoryChooser.

      I accidentally found a weird solution. If you create a new instance of 'JFileChooser' (of Swing) in your application anywhere before 'FileChooser' is used, this problem goes away. You don't have to use this 'JFileChooser' instance.

        Attachments

        1. fileChooserCrash_1.jpg
          fileChooserCrash_1.jpg
          108 kB
        2. fileChooserCrash_2.jpg
          fileChooserCrash_2.jpg
          64 kB
        3. fileChooserCrash.jpg
          fileChooserCrash.jpg
          59 kB
        4. fileChooserDebugg_1.jpg
          fileChooserDebugg_1.jpg
          106 kB
        5. fileChooserDebugg_2.jpg
          fileChooserDebugg_2.jpg
          11 kB

          Activity

            People

            Assignee:
            anthony Anthony Petrov (Inactive)
            Reporter:
            ljijfx Lin Ji (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: