[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-classpath] [bug #13682] JNI bug causes assertion failure
From: |
Archie Cobbs |
Subject: |
[bug-classpath] [bug #13682] JNI bug causes assertion failure |
Date: |
Thu, 7 Jul 2005 23:55:44 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129 |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13682>
Summary: JNI bug causes assertion failure
Project: classpath
Submitted by: archie172
Submitted on: Thu 07/07/2005 at 23:55
Category: None
Severity: 5 - Blocker
Status: None
Privacy: Public
Assigned to: smarothy
Open/Closed: Open
Platform Version: None
_______________________________________________________
Details:
With Classpath 0.16, trying to run a very simple Swing demo under JCVM,
I get a JNI assertion failure in a call to GetIntField(), because the object
type and the fieldID are not compatible:
gnu/java/awt/peer/gtk/address@hidden not instance of
gnu/java/awt/peer/gtk/GtkGenericPeer
Here is the relevant stack trace snippet:
#4 0x282d6c1b in abort () from /lib/libc.so.5
#5 0x280ae91d in GetIntField (jenv=0x107ed6a0, obj=0x29795698,
field=0x107527c8) at jni_native.c:82
#6 0x29f99d72 in set_state (env=0x107ed6a0, obj=0x29795698,
table=0x10471440,
state=0x109ea4c0) at native_state.c:217
#7 0x29f862d7 in
Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__Lgnu_java_awt_peer_gtk_GtkComponentPeer_2
(env=0x107ed6a0, obj=0x29795698, peer=0x2979569c)
at gnu_java_awt_peer_gtk_GdkGraphics.c:154
#8 0x280d4289 in _jc_dynamic_invoke (func=0x29f86214, jcni=0, nparams=3,
ptypes=0x2979562c "\n\n\n\t", nwords=3, words=0x29795620,
retval=0x107ed628) at arch/i386/arch_functions.c:336
#9 0x280aa802 in _jc_invoke_jni_a (env=0x107ed600, method=0x107f9d60,
func=0x29f86214, obj=0x85e0308, params=0x29795754) at invoke.c:692
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13682>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-classpath] [bug #13682] JNI bug causes assertion failure,
Archie Cobbs <=