This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/23216] New: IncompatibleClassChangeError when Using Java-Gnome
- From: "ajocksch at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Aug 2005 16:04:10 -0000
- Subject: [Bug libgcj/23216] New: IncompatibleClassChangeError when Using Java-Gnome
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When running a simple Java-Gnome app, I get a IncompatibleClassChangeError. The
following test case produces the bug. I've tested this with the IBM and BEA
jvms as well and both of these work fine, so I don't suspect that Java-Gnome is
to blame.
-----------------------
import org.gnu.gtk.Gtk;
import org.gnu.gtk.TextView;
public class TestCase {
/**
* @param args
*/
public static void main(String[] args) {
System.out.println("before initializing GTK");
Gtk.init(args);
System.out.println("after initializing GTK\nBefore initializing
TextView");
TextView tv = new TextView();
System.out.println("after initializing TextView\nBefore getting
buffer 1st time");
tv.getBuffer();
System.out.println("after getting buffer 1st time\nBefore
getting buffer 2nd time");
tv.getBuffer();
System.out.println("after getting buffer 2nd time");
}
}
--
Summary: IncompatibleClassChangeError when Using Java-Gnome
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ajocksch at redhat 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=23216