public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/23216] New: IncompatibleClassChangeError when Using Java-Gnome
@ 2005-08-03 16:04 ajocksch at redhat dot com
2005-08-23 14:19 ` [Bug libgcj/23216] " tromey at gcc dot gnu dot org
2005-08-23 16:05 ` ajocksch at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: ajocksch at redhat dot com @ 2005-08-03 16:04 UTC (permalink / raw)
To: java-prs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgcj/23216] IncompatibleClassChangeError when Using Java-Gnome
2005-08-03 16:04 [Bug libgcj/23216] New: " ajocksch at redhat dot com
@ 2005-08-23 14:19 ` tromey at gcc dot gnu dot org
2005-08-23 16:05 ` ajocksch at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-08-23 14:19 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2005-08-23 14:19 -------
I tried this with the gcc 4.0 and java-gnome that ship on Fedora Core 4.
It worked for me.
Can you give some more information? Perhaps the stack trace that you see?
Did you compile this or run it interpreted?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23216
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgcj/23216] IncompatibleClassChangeError when Using Java-Gnome
2005-08-03 16:04 [Bug libgcj/23216] New: " ajocksch at redhat dot com
2005-08-23 14:19 ` [Bug libgcj/23216] " tromey at gcc dot gnu dot org
@ 2005-08-23 16:05 ` ajocksch at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: ajocksch at redhat dot com @ 2005-08-23 16:05 UTC (permalink / raw)
To: java-prs
------- Additional Comments From ajocksch at redhat dot com 2005-08-23 16:05 -------
Sorry, I should have clarified earlier that I'm developing with Java-Gnome head.
I am running it interpreted through Eclipse.
Here's the stack trace it generates:
Exception in thread "main" java.lang.IncompatibleClassChangeError
at org.gnu.glib.GObject.getGObjectFromHandle(org.gnu.javagnome.Handle)
(Unknown Source)
at org.gnu.gtk.TextBuffer.getTextBuffer(org.gnu.javagnome.Handle) (Unknown
Source)
at org.gnu.gtk.TextView.getBuffer() (Unknown Source)
at TestCase.main(java.lang.String[]) (Unknown Source)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23216
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-10 15:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-23216-8172@http.gcc.gnu.org/bugzilla/>
2012-01-10 15:45 ` [Bug libgcj/23216] IncompatibleClassChangeError when Using Java-Gnome rguenth at gcc dot gnu.org
2005-08-03 16:04 [Bug libgcj/23216] New: " ajocksch at redhat dot com
2005-08-23 14:19 ` [Bug libgcj/23216] " tromey at gcc dot gnu dot org
2005-08-23 16:05 ` ajocksch at redhat dot com
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).