[Bug java/29812] New: env->klass value is not updated during the native calls

2006-11-12 Thread wfragg at gmail dot com
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



[Bug java/29812] env->klass value is not updated during the native calls

2006-11-13 Thread wfragg at gmail dot com


--- Comment #2 from wfragg at gmail dot com  2006-11-14 04:01 ---
The patch mentioned in mailing list does not solves the problem (and this is
stated in one of the reply). It just demonstrates the problem.

If this problem was solved - that's fine, just close the bug. Yesterday I
realized that I've sent a problem to the mailing list few months ago, but did
not reported the bug here. So to make sure that this issue will not be lost in
burden, I've posted this report.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29812