executing the below code snippet in jython: gcc version 4.0.1 20050508 (prerelease) (Debian 4.0.0-6) Jython 2.1
import javax.swing as swing win = swing.JFrame("JYTHON") win.size = (100, 100) win.show() and closing the window from the window manager results in the following: (.:29481): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkWidget' (.:29481): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed Seems that the frames peer widget is destroyed. This - closing the window from the window manager, nad showing again - works with sun jdk 1.5_03. -- Summary: GLib-GObject-WARNING with jython Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: SWING AssignedTo: graydon at redhat dot com ReportedBy: sbodomerle at gmail dot com 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=21635