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

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2 P2
    • 8u40
    • 7u21, 8u5
    • javafx
    • None
    • Window Vista Ultimate

      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.

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

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

              Created:
              Updated:
              Resolved:
              Imported: