public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug AWT/19453] New: AWT FileDialog crashes
@ 2005-01-15  0:25 mark at gcc dot gnu dot org
  2005-01-15 16:20 ` [Bug AWT/19453] AWT FileDialog gives warnings mark at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mark at gcc dot gnu dot org @ 2005-01-15  0:25 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug AWT/19453] AWT FileDialog gives warnings
  2005-01-15  0:25 [Bug AWT/19453] New: AWT FileDialog crashes mark at gcc dot gnu dot org
@ 2005-01-15 16:20 ` mark at gcc dot gnu dot org
  2005-02-10 23:46 ` fitzsim at redhat dot com
  2005-04-20  2:12 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mark at gcc dot gnu dot org @ 2005-01-15 16:20 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mark at gcc dot gnu dot org  2005-01-15 16:20 -------
The crash probably came from the use of '.' instead of '/' in the JNI method
signature requested in the native code. Fixed in GNU Classpath CVS by:

2005-01-15  Mark Wielaard  <mark@klomp.org>

        Reported by Martin Platter <motse@complang.tuwien.ac.at>
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
        (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
        Correct method signature of gtkSetFilename.

It still does produce a warning:

(:29697): GLib-GObject-WARNING **: g_object_set_valist: object class
`GtkFileChooserDialog' has no property named `gtk-ok'


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-15 16:20:26
               date|                            |
            Summary|AWT FileDialog crashes      |AWT FileDialog gives
                   |                            |warnings


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug AWT/19453] AWT FileDialog gives warnings
  2005-01-15  0:25 [Bug AWT/19453] New: AWT FileDialog crashes mark at gcc dot gnu dot org
  2005-01-15 16:20 ` [Bug AWT/19453] AWT FileDialog gives warnings mark at gcc dot gnu dot org
@ 2005-02-10 23:46 ` fitzsim at redhat dot com
  2005-04-20  2:12 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: fitzsim at redhat dot com @ 2005-02-10 23:46 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From fitzsim at redhat dot com  2005-02-10 23:06 -------
Fixed on java-gui-20050128-branch.  Closing.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug AWT/19453] AWT FileDialog gives warnings
  2005-01-15  0:25 [Bug AWT/19453] New: AWT FileDialog crashes mark at gcc dot gnu dot org
  2005-01-15 16:20 ` [Bug AWT/19453] AWT FileDialog gives warnings mark at gcc dot gnu dot org
  2005-02-10 23:46 ` fitzsim at redhat dot com
@ 2005-04-20  2:12 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-20  2:12 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-04-20  2:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-15  0:25 [Bug AWT/19453] New: AWT FileDialog crashes mark at gcc dot gnu dot org
2005-01-15 16:20 ` [Bug AWT/19453] AWT FileDialog gives warnings mark at gcc dot gnu dot org
2005-02-10 23:46 ` fitzsim at redhat dot com
2005-04-20  2:12 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).