This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/29812] New: env->klass value is not updated during the native calls
- From: "wfragg at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Nov 2006 04:37:15 -0000
- Subject: [Bug java/29812] New: env->klass value is not updated during the native calls
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hello,
While debugging the issue with the Subclipse not working under the GCJ
(look at the message
http://svn.haxx.se/subusers/archive-2006-07/0210.shtml for example) I
found the following problem. When native method is called, the
env->klass value is always NULL. It looks like that JNIEnv is reused in
the "_Jv_GetJNIEnvNewFrame" function and the env->klass value is not
updated during the call.
For more details look at the message here:
http://gcc.gnu.org/ml/java-patches/2006-q3/msg00231.html
P.S.
Steps to reproduce behavior:
1. Install gcj-4.1.1.
2. Run Eclipse with -vm /path/to/gij
3. Install Subclipse extension (http://subclipse.tigris.org).
4. Open Windows->Preferences dialog, then open Team->SVN tab. The
Eclipse shows error message.
--
Summary: env->klass value is not updated during the native calls
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wfragg at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29812