This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug AWT/19453] New: AWT FileDialog crashes


The following test program (provided by Timo Lindfors) crashes when selecting a
file and hitting the OK button.

import java.awt.*;

public class FileDialogTest2  extends Frame {
        public static void main(String[] args) {
                new FileDialogTest2().setVisible(true);
        }
        public FileDialogTest2() {
                FileDialog dialog = new FileDialog(this, "Open", FileDialog.LOAD);
                dialog.show();
                System.out.println(dialog.getFile());
        }
}

-- 
           Summary: AWT FileDialog crashes
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: AWT
        AssignedTo: fitzsim at redhat dot com
        ReportedBy: mark at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19453


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]