public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "tromey at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/29812] env->klass value is not updated during the native calls
Date: Mon, 22 Jan 2007 23:33:00 -0000	[thread overview]
Message-ID: <20070122233338.5736.qmail@sourceware.org> (raw)
In-Reply-To: <bug-29812-13553@http.gcc.gnu.org/bugzilla/>



------- Comment #6 from tromey at gcc dot gnu dot org  2007-01-22 23:33 -------
Subject: Bug 29812

Author: tromey
Date: Mon Jan 22 23:33:24 2007
New Revision: 121066

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121066
Log:
        PR java/29812:
        * java/lang/natRuntime.cc (_load): Push a new system frame before
        calling JNI_OnLoad.
        * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
        (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
        * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
        <allocated_p>: Now bool.
        <loader>: New field.
        (_Jv_JNI_EnsureLocalCapacity): Updated.
        (_Jv_JNI_NewLocalRef): Likewise.
        (_Jv_JNI_NewLocalRef): Likewise.
        (_Jv_JNI_PopLocalFrame): Likewise.
        (_Jv_JNI_FindClass): Likewise.
        (_Jv_GetJNIEnvNewFrame): Likewise.
        (_Jv_JNI_AttachCurrentThread): Likewise.
        (_Jv_GetJNIEnvNewFrameWithLoader): New function.
        (_Jv_GetJNIEnvNewFrame): Use it.
        * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.

Modified:
    branches/gcc-4_2-branch/libjava/ChangeLog
    branches/gcc-4_2-branch/libjava/include/jni_md.h
    branches/gcc-4_2-branch/libjava/include/jvm.h
    branches/gcc-4_2-branch/libjava/java/lang/natRuntime.cc
    branches/gcc-4_2-branch/libjava/jni.cc


-- 


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


      parent reply	other threads:[~2007-01-22 23:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-13  4:37 [Bug java/29812] New: " 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070122233338.5736.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).