This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/23216] New: IncompatibleClassChangeError when Using Java-Gnome


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]