public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/29812]  New: env->klass value is not updated during the native calls
@ 2006-11-13  4:37 wfragg at gmail dot com
  2006-11-13 18:48 ` [Bug java/29812] " mtrudel at gmx dot ch
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: wfragg at gmail dot com @ 2006-11-13  4:37 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-01-22 23:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-13  4:37 [Bug java/29812] New: env->klass value is not updated during the native calls wfragg at gmail dot com
2006-11-13 18:48 ` [Bug java/29812] " mtrudel at gmx dot ch
2006-11-14  4:01 ` wfragg at gmail dot com
2007-01-21 23:13 ` tromey at gcc dot gnu dot org
2007-01-22 23:04 ` tromey at gcc dot gnu dot org
2007-01-22 23:20 ` tromey at gcc dot gnu dot org
2007-01-22 23:33 ` tromey at gcc dot gnu dot org
2007-01-22 23:33 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).