[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/23028] New: JNI bug causes assertion failure
From: |
pinskia at gcc dot gnu dot org |
Subject: |
[Bug classpath/23028] New: JNI bug causes assertion failure |
Date: |
25 Aug 2005 22:10:17 -0000 |
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 "
", 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
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-25
22:10 -------
I think this has been fixed already.
--
Summary: JNI bug causes assertion failure
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: from-classpath at savannah dot gnu dot org
CC: bug-classpath at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23028
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/23028] New: JNI bug causes assertion failure,
pinskia at gcc dot gnu dot org <=