This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r121065 - in /branches/redhat/gcc-4_1-branch-ja...


Author: tromey
Date: Mon Jan 22 23:20:18 2007
New Revision: 121065

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121065
Log:
	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'.

Added:
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/testsuite/libjava.jni/pr29812.c
      - copied unchanged from r121064, trunk/libjava/testsuite/libjava.jni/pr29812.c
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/testsuite/libjava.jni/pr29812.h
      - copied unchanged from r121064, trunk/libjava/testsuite/libjava.jni/pr29812.h
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/testsuite/libjava.jni/pr29812.jar
      - copied unchanged from r121064, trunk/libjava/testsuite/libjava.jni/pr29812.jar
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/testsuite/libjava.jni/pr29812.java
      - copied unchanged from r121064, trunk/libjava/testsuite/libjava.jni/pr29812.java
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/testsuite/libjava.jni/pr29812.out
      - copied unchanged from r121064, trunk/libjava/testsuite/libjava.jni/pr29812.out
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/testsuite/libjava.jni/pr29812_injar.c
      - copied unchanged from r121064, trunk/libjava/testsuite/libjava.jni/pr29812_injar.c
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/testsuite/libjava.jni/pr29812_injar.h
      - copied unchanged from r121064, trunk/libjava/testsuite/libjava.jni/pr29812_injar.h
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/testsuite/libjava.jni/pr29812_injar.jar
      - copied unchanged from r121064, trunk/libjava/testsuite/libjava.jni/pr29812_injar.jar
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/testsuite/libjava.jni/pr29812_injar.java
      - copied unchanged from r121064, trunk/libjava/testsuite/libjava.jni/pr29812_injar.java
Modified:
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/ChangeLog
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/include/jni_md.h
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/include/jvm.h
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/java/lang/natRuntime.cc
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/jni.cc
    branches/redhat/gcc-4_1-branch-java-merge-20070117/libjava/testsuite/libjava.jni/jni.exp


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]