gcc/libjava/testsuite
Thomas Fitzsimmons bc71e4a22b re PR libgcj/16923 (-D* Options passed to JNI_CreateJavaVM are ignored)
2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>

	PR libgcj/16923
	* gcj.texi (Invocation): Add descriptions of JvVMInitArgs and
	JvVMOption.

2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>

	PR libgcj/16923
	* jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
	JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
	value.  Move argument parsing code to prims.cc.
	* prims.cc (no_properties): Remove.
	(_Jv_Compiler_Properties): Initialize to NULL.
	(_Jv_Properties_Count): Initialize to 0.
	(parse_verbose_args): New function.
	(parse_init_args): New function.
	(_Jv_CreateJavaVM): Call parse_init_args.
	(_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
	* gcj/cni.h (JvVMOption): New struct.
	(JvVMInitArgs): Likewise.
	(JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
	void*.
	* libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
	(_Jv_VMInitArgs): Likewise.
	* include/java-props.h (_Jv_Properties_Count): Declare.
	* java/lang/natRuntime.cc (insertSystemProperties): Use
	_Jv_Properties_Count in for loop exit condition.
	* testsuite/libjava.jni/jni.exp
	(gcj_invocation_compile_c_to_binary): New procedure.
	(gcj_invocation_test_one): Likewise.
	(gcj_jni_run): Run JNI invocation API tests.
	* testsuite/libjava.jni/invocation/PR16923.c,
	testsuite/libjava.jni/invocation/PR16923.java,
	testsuite/libjava.jni/invocation/PR16923.out: New test.

From-SVN: r95459
2005-02-23 17:36:26 +00:00
..
config
lib * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs. 2004-12-31 13:34:18 +01:00
libjava.cni
libjava.compile re PR java/19295 (Incorrect bytecode produced for bitwise AND) 2005-01-24 14:34:19 +00:00
libjava.jacks re PR java/19070 (internal compiler error: in generate_bytecode_conditional, at java/jcf-write.c:1271) 2005-01-26 02:28:15 +00:00
libjava.jar jar.exp (gcj_jar_interpret): Updated. 2004-12-21 01:01:08 +00:00
libjava.jni re PR libgcj/16923 (-D* Options passed to JNI_CreateJavaVM are ignored) 2005-02-23 17:36:26 +00:00
libjava.lang re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch) 2005-02-19 03:57:21 +00:00
libjava.loader * Merged gcj-abi-2-dev-branch to trunk. 2004-11-25 03:47:08 +00:00
libjava.mauve xfails: Updated to reflect current state of mauve and libjava. 2005-02-10 05:54:07 +00:00
libjava.verify jar.exp (gcj_jar_interpret): Updated. 2004-12-21 01:01:08 +00:00
ChangeLog-old
Makefile.am configure.in: Use target_noncanonical rather than target_alias for forward-compatibility with... 2004-07-16 05:36:35 +00:00
Makefile.in re PR libgcj/7305 (Install path for libgcj header files) 2004-12-03 11:15:25 +00:00