[Bug libgcj/16923] -D* Options passed to JNI_CreateJavaVM are ignored
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2008-12-20 22:22 --- Oddly, it appears that we see the failure of... Running target unix/-m64 FAIL: PR16923 run when gcc trunk is built with... Platform: i686-apple-darwin9 configure flags: --prefix=/sw --prefix=/sw/lib/gcc4.4 --mandir=/sw/share/man --infodir=/sw/share/info --enable-languages=c,c++,fortran,objc,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --with-arch=nocona --with-tune=generic --build=i686-apple-darwin9 --host=i686-apple-darwin9 --target=i686-apple-darwin9 but not when gcc trunk is built with... Platform: i686-apple-darwin9 configure flags: --build=i686-apple-darwin9 --host=i686-apple-darwin9 --target=i686-apple-darwin9 --with-gnu-as --with-tune=generic --prefix=/opt/gnu/gcc/gcc-4.4.0 --enable-debug=no --disable-nls --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-threads=posix --enable-__cxa_atexit --enable-java-gc=boehm -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16923
[Bug libgcj/16923] -D* Options passed to JNI_CreateJavaVM are ignored
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2008-11-18 15:01 --- This test case is failing on i686-apple-darwin9 at -m64 (but not -m32). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16923
[Bug libgcj/16923] -D* Options passed to JNI_CreateJavaVM are ignored
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-23 17:36 --- Subject: Bug 16923 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-02-23 17:36:26 Modified files: gcc/java : ChangeLog gcj.texi libjava: ChangeLog jni.cc prims.cc libjava/gcj: cni.h javaprims.h libjava/include: java-props.h libjava/java/lang: natRuntime.cc libjava/testsuite/libjava.jni: jni.exp Added files: libjava/testsuite/libjava.jni/invocation: PR16923.c PR16923.java PR16923.out Log message: 2005-02-23 Thomas Fitzsimmons [EMAIL PROTECTED] PR libgcj/16923 * gcj.texi (Invocation): Add descriptions of JvVMInitArgs and JvVMOption. 2005-02-23 Thomas Fitzsimmons [EMAIL PROTECTED] 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. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gccr1=1.1555r2=1.1556 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/gcj.texi.diff?cvsroot=gccr1=1.72r2=1.73 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gccr1=1.3389r2=1.3390 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/jni.cc.diff?cvsroot=gccr1=1.94r2=1.95 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/prims.cc.diff?cvsroot=gccr1=1.103r2=1.104 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gcj/cni.h.diff?cvsroot=gccr1=1.14r2=1.15 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gcj/javaprims.h.diff?cvsroot=gccr1=1.54r2=1.55 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/java-props.h.diff?cvsroot=gccr1=1.7r2=1.8 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/natRuntime.cc.diff?cvsroot=gccr1=1.46r2=1.47 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.jni/jni.exp.diff?cvsroot=gccr1=1.17r2=1.18 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.jni/invocation/PR16923.c.diff?cvsroot=gccr1=NONEr2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.jni/invocation/PR16923.java.diff?cvsroot=gccr1=NONEr2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.jni/invocation/PR16923.out.diff?cvsroot=gccr1=NONEr2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16923
[Bug libgcj/16923] -D* Options passed to JNI_CreateJavaVM are ignored
--- Additional Comments From fitzsim at redhat dot com 2005-02-23 17:38 --- Fixed on mainline. -- What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16923