This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/28178] New: jniEnv->DeleteLocalRef (null) fails
- From: "hakan dot hjort at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 27 Jun 2006 14:03:35 -0000
- Subject: [Bug libgcj/28178] New: jniEnv->DeleteLocalRef (null) fails
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
According to Sun documentation NULL is a allowed to call DeleteLocalRef() with
a NULL argument. The GCJ jni implementation exits (Aborted) in this case.
From: http://java.sun.com/docs/books/jni/html/exceptions.html
6.1.2 A Utility Function
Passing NULL to DeleteLocalRef is a no-op, which is an appropriate action if
FindClass fails and returns NULL.
--
Summary: jniEnv->DeleteLocalRef (null) fails
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hakan dot hjort at gmail dot com
GCC target triplet: i386-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28178