gcc/libjava/include
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
..
.cvsignore
Makefile.am jawt.c: New file. 2005-02-14 21:08:08 +00:00
Makefile.in jawt.c: New file. 2005-02-14 21:08:08 +00:00
boehm-gc.h boehm-gc.h: Include gc_ext_config.h, not gc_config.h. 2005-01-02 03:35:57 +00:00
config.h.in config.h.in: Regenerate. 2004-12-19 16:26:06 +00:00
darwin-signal.h Index: gcc/ChangeLog 2004-07-01 04:09:07 +00:00
default-signal.h prims.cc (unblock_signal): Annotate signum with __unused__ to avoid warnings in the non-POSIX_VERSION case. 2004-09-26 13:38:49 -07:00
dwarf2-signal.h
execution.h * Merged gcj-abi-2-dev-branch to trunk. 2004-11-25 03:47:08 +00:00
i386-signal.h prims.cc (unblock_signal): Annotate signum with __unused__ to avoid warnings in the non-POSIX_VERSION case. 2004-09-26 13:38:49 -07:00
java-assert.h
java-chardecomp.h
java-chartables.h unicode-muncher.pl: Updated to version 2.1 from GNU classpath. 2004-07-09 21:00:12 +00:00
java-cpool.h
java-insns.h
java-interp.h link.cc (ensure_class_linked): Conditionally compile _Jv_IsInterpretedClass on INTERPRETER. 2004-11-27 12:37:32 +00:00
java-props.h re PR libgcj/16923 (-D* Options passed to JNI_CreateJavaVM are ignored) 2005-02-23 17:36:26 +00:00
java-stack.h * Merged gcj-abi-2-dev-branch to trunk. 2004-11-25 03:47:08 +00:00
jawt.h jawt.c: New file. 2005-02-14 21:08:08 +00:00
jawt_md.h jawt.c: New file. 2005-02-14 21:08:08 +00:00
jni.h jni.h (_Jv_JNIEnv::bottom_locals): New field. 2005-01-14 07:36:27 +00:00
jvm.h re PR java/20056 ('verification failed: incompatible type on stack' with --indirect-dispatch) 2005-02-19 01:16:30 +00:00
jvmpi.h
mips-signal.h prims.cc (unblock_signal): Annotate signum with __unused__ to avoid warnings in the non-POSIX_VERSION case. 2004-09-26 13:38:49 -07:00
no-gc.h
no-threads.h no-threads.h (_Jv_ThreadDestroyData): Removed argument name. 2004-12-01 21:44:09 +00:00
pa-signal.h pa32-linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define. 2004-07-09 03:39:35 +00:00
posix-threads.h posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*. 2004-10-11 10:49:39 -07:00
posix.h
powerpc-signal.h
s390-signal.h s390.md ("udivsi3"): Ensure trap is generated for division by zero. 2004-07-14 13:09:09 +00:00
sh-signal.h configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h for all sh*-*-linux* targets. 2004-10-21 10:44:39 +00:00
sparc-signal.h prims.cc (unblock_signal): Annotate signum with __unused__ to avoid warnings in the non-POSIX_VERSION case. 2004-09-26 13:38:49 -07:00
stamp-h.in
win32-signal.h
win32-threads.h re PR libgcj/14751 ([win32] thread creation leaks system handle resources) 2004-09-11 19:13:51 +00:00
win32.h configure.in [...] (SYSTEMSPEC): Remove -lwsock32. 2004-08-01 04:29:31 +00:00
x86_64-signal.h