262fa8a4b5
PR java/29812: * testsuite/libjava.jni/pr29812.java: New file. * testsuite/libjava.jni/pr29812_injar.java: New file. * testsuite/libjava.jni/pr29812_injar.jar: New file. * testsuite/libjava.jni/pr29812.out: New file. * testsuite/libjava.jni/pr29812_injar.c: New file. * testsuite/libjava.jni/pr29812_injar.h: New file. * testsuite/libjava.jni/pr29812.jar: New file. * testsuite/libjava.jni/pr29812.c: New file. * testsuite/libjava.jni/pr29812.h: New file. * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): New proc. (gcj_jni_invocation_test_one): Use it. (gcj_jni_pr29812): New proc. (gcj_jni_run): Use it. * 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'. From-SVN: r121064 |
||
---|---|---|
.. | ||
invocation | ||
bytebuffer.c | ||
bytebuffer.h | ||
bytebuffer.jar | ||
bytebuffer.java | ||
bytebuffer.out | ||
calls.c | ||
calls.h | ||
calls.jar | ||
calls.java | ||
calls.out | ||
cxxtest.cc | ||
cxxtest.h | ||
cxxtest.jar | ||
cxxtest.java | ||
cxxtest.out | ||
directbuffer.c | ||
directbuffer.h | ||
directbuffer.jar | ||
directbuffer.java | ||
directbuffer.out | ||
field.c | ||
field.h | ||
field.jar | ||
field.java | ||
field.out | ||
final_method.c | ||
final_method.h | ||
final_method.jar | ||
final_method.java | ||
final_method.out | ||
findclass2.c | ||
findclass2.h | ||
findclass2.jar | ||
findclass2.java | ||
findclass2.out | ||
findclass.c | ||
findclass.h | ||
findclass.jar | ||
findclass.java | ||
findclass.out | ||
iface.c | ||
iface.h | ||
iface.jar | ||
iface.java | ||
iface.out | ||
invoke.c | ||
invoke.h | ||
invoke.jar | ||
invoke.java | ||
invoke.out | ||
jni.exp | ||
jniutf.c | ||
jniutf.h | ||
jniutf.jar | ||
jniutf.java | ||
jniutf.out | ||
martin.c | ||
martin.h | ||
martin.jar | ||
martin.java | ||
martin.out | ||
noclass.c | ||
noclass.h | ||
noclass.jar | ||
noclass.java | ||
noclass.out | ||
overload.c | ||
overload.h | ||
overload.jar | ||
overload.java | ||
overload.out | ||
pr11951.c | ||
pr11951.h | ||
pr11951.jar | ||
pr11951.java | ||
pr11951.out | ||
pr18278.c | ||
pr18278.h | ||
pr18278.jar | ||
pr18278.java | ||
pr18278.out | ||
pr23739.c | ||
pr23739.h | ||
pr23739.jar | ||
pr23739.java | ||
pr23739.out | ||
pr29812_injar.c | ||
pr29812_injar.h | ||
pr29812_injar.jar | ||
pr29812_injar.java | ||
pr29812.c | ||
pr29812.h | ||
pr29812.jar | ||
pr29812.java | ||
pr29812.out | ||
PR15133.c | ||
PR15133.h | ||
PR15133.jar | ||
PR15133.java | ||
PR15133.out | ||
PR18116.c | ||
PR18116.h | ||
PR18116.jar | ||
PR18116.java | ||
PR18116.out | ||
PR28178.c | ||
PR28178.h | ||
PR28178.jar | ||
PR28178.java | ||
PR28178.out | ||
register2.c | ||
register2.jar | ||
register2.java | ||
register2.out | ||
register.c | ||
register.h | ||
register.jar | ||
register.java | ||
register.out | ||
simple_int.c | ||
simple_int.h | ||
simple_int.jar | ||
simple_int.java | ||
simple_int.out | ||
throwit.c | ||
throwit.h | ||
throwit.jar | ||
throwit.java | ||
throwit.out | ||
virtual.c | ||
virtual.h | ||
virtual.jar | ||
virtual.java | ||
virtual.out |