This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug AWT/16121] gtk based awt peers: cast from pointer to integer of different size
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jul 2004 21:05:08 -0000
- Subject: [Bug AWT/16121] gtk based awt peers: cast from pointer to integer of different size
- References: <20040621194400.16121.debian-gcc@lists.debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From falk at debian dot org 2004-07-31 21:05 -------
The TestAWT program mostly works now, except it hangs after a while if I
resize the main dialog with a "solid resize" window manager.
The testswing program outputs
DEBUG: Trying to load toolkit: gnu.java.awt.peer.gtk.GtkToolkit
DEBUG: finding class
DEBUG: found class
DEBUG: creating new instance
DEBUG: created new instance
DEBUG: checking obj type
DEBUG: checked obj type
DEBUG: casting toolkit
DEBUG: cast toolkit
and then hangs, *except* when I start it under gdb, then it pops up the
window. Weird. Clicking some buttons then produces
got weird changevent from javax.swing.JButton[JButton]
Playing with the slider produces
[New Thread 65541 (LWP 5070)]
[Thread 65541 (LWP 5070) exited]
Exception during event dispatch:
Detaching after fork from child process 5071.
Detaching after fork from child process 5072.
Exception in thread "AWT-EventQueue-1" Detaching after fork from child process 5073.
Detaching after fork from child process 5074.
java.lang.NegativeArraySizeException
*** Got java.lang.NegativeArraySizeException while trying to print stack trace.
[Thread 32771 (LWP 5068) exited]
and then it hangs again.
So there's some progress, but it's not quite working yet :-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16121