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

Solaris: Java crash when Cancel button pressed in FileDialog

XMLWordPrintable

    • beta2
    • sparc
    • solaris_2.6
    • Verified


      This crash is reproducible with the following test case:
      ------------------------------------------------
      import java.awt.*;

      public class Test {
          public static void main(String[] args) {
              final Frame f = new Frame();
              final FileDialog fd = new FileDialog(f);
              fd.setVisible(true);
          }
      }
      ------------------------------------------------
      Run the test case. A FileDialog will appear. Press 'Cancel' button in
      the FileDialog. The app will crash. I investigated the crash with the
      debug build of the current merlin workspace on Intel/Solaris 2.7.


      Reproducible on Merlin b72.

            dmikhalksunw Denis Mikhalkin (Inactive)
            domsunw Dom Dom (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: