libgcj.ver: Add __gcj_personality_sj0.

2007-07-13  Andrew Haley  <aph@redhat.com>

        * libgcj.ver: Add __gcj_personality_sj0.

        * testsuite/libjava.jvmti/jvmti-interp.exp: Likewise.
        * testsuite/libjava.jni/jni.exp: Use -fdollars-in-identifiers.
        * testsuite/libjava.jni/cni.exp: Use -fdollars-in-identifiers.
        * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o): Likewise.

        * gnu/classpath/natVMStackWalker.cc (getCallingClassLoader): Check
        klass is non-null.
        * java/lang/reflect/natField.cc (getAddr): Call
        _Jv_StackTrace::GetCallingClass only if CALLER is non-null.
        * java/lang/reflect/natVMProxy.cc (run_proxy): Use
        _Jv_getFieldInternal to get field proxyClass.m.
        (_Jv_getFieldInternal): New function.

From-SVN: r126623
This commit is contained in:
Andrew Haley 2007-07-13 15:36:39 +00:00
parent 976731ee6e
commit 05724daed2

View File

@ -49,11 +49,11 @@ friend class java::lang::Class;
class java/lang/reflect/Field
prepend jfieldID _Jv_FromReflectedField (java::lang::reflect::Field *);
prepend jobject _Jv_JNI_ToReflectedField (_Jv_JNIEnv*, jclass, jfieldID, jboolean);
prepend jobject _Jv_getFieldInternal (java::lang::reflect::Field f, jclass c, jobject o);
prepend jobject _Jv_getFieldInternal (java::lang::reflect::Field *f, jclass c, jobject o);
friend jfieldID (::_Jv_FromReflectedField) (java::lang::reflect::Field *);
friend jobject (::_Jv_JNI_ToReflectedField) (_Jv_JNIEnv*, jclass, jfieldID, jboolean);
friend class java::lang::Class;
friend jobject (::_Jv_getFieldInternal) (java::lang::reflect::Field f, jclass c, jobject o);
friend jobject (::_Jv_getFieldInternal) (java::lang::reflect::Field *f, jclass c, jobject o);
class java/lang/reflect/Method
prepend jmethodID _Jv_FromReflectedMethod (java::lang::reflect::Method *);