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

[macos] Crash with use of native file dialog

    Details

    • Subcomponent:
    • Resolved In Build:
      b27
    • OS:
      os_x

      Backports

        Description

        Reproduced on openjdk 11 (and 13) with simple test application:

            public static void main(String[] args) {
                SwingUtilities.invokeLater(()->{
                    JFrame f = new JFrame();
                    f.setSize(300, 300);
                    f.setVisible(true);

                    SwingUtilities.invokeLater(()->{
                        FileDialog fd = new FileDialog(f, "test-fd", FileDialog.LOAD);
                        fd.setVisible(true);
                    });
                });
            }

        Navigate to a window with file path input.
        Click the field to reveal file chooser.
        Type ~ to start go to folder feature.
        Click and expand the suggestions list.
        Click on one of the suggestions.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  serb Sergey Bylokhov
                  Reporter:
                  abochkarev Artem Bochkarev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: