This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Break libjava -> libsupc++ dependency - merged to 3.0 branch
- To: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Subject: Break libjava -> libsupc++ dependency - merged to 3.0 branch
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Sun, 20 May 2001 09:23:57 -0700
I've merged the patches to decouple libjava from libsupc++ to the 3.0
branch. The change logs follow. The patches are unchanged from what
they were on the trunk, so I haven't included them again.
Tested with --enable-languages=c,c++,objc,f77,java on i686-linux.
Java's in good shape on the branch:
=== libjava tests ===
XPASS: N19990310_4 output from source compiled test
XPASS: N19990310_4 -O output from source compiled test
XPASS: stringconst output from bytecode->native test
XPASS: stringconst -O output from bytecode->native test
XPASS: stub compilation from source
XPASS: stub byte compilation
XPASS: stub compilation from bytecode
XPASS: stub -O compilation from source
XPASS: stub byte compilation
XPASS: stub -O compilation from bytecode
=== libjava Summary ===
# of expected passes 1676
# of unexpected successes 10
# of expected failures 14
# of untested testcases 16
Maybe we could look into verifying those unexpected passes and making
them normal?
--
zw You have to care about the 'fair trial' part; you have to care about
the 'due process of law' part, and you have to care about these things
*more* than you care about putting child molestors away.
-- Graydon Saunders
2001-05-19 Bryce McKinlay <bryce@albatross.co.nz>
* include/jvm.h: Move "#pragma GCC java_exceptions" to ...
* gcj/javaprims.h: ... here.
* gnu/gcj/io/shs.cc: Add "#pragma GCC java_exceptions".
2001-05-19 Zack Weinberg <zackw@stanford.edu>
gcc/cp:
* except.c (choose_personality_routine): Export. Add
explanatory comment. Take an enum languages, not a boolean.
(initialize_handler_parm): Adjust to match.
* cp-tree.h: Prototype choose_personality_routine.
* lex.c (handle_pragma_java_exceptions): New function.
(init_cp_pragma): Register #pragma GCC java_exceptions.
gcc:
* extend.texi: Document #pragma GCC java_exceptions.
libjava:
* Makefile.am (libgcj_la_OBJECTS): Remove libsupc++convenience.la.
* Makefile.in: Regenerate (by hand).
* include/jvm.h: Add #pragma GCC java_exceptions at top of file.
* doc/cni.sgml: Document #pragma GCC java_exceptions.
* prims.cc (_Jv_ThisExecutable): Use _Jv_Malloc.
* posix-threads.cc (_Jv_ThreadInitData): Use _Jv_Malloc.
(_Jv_ThreadDestroyData): Use _Jv_Free.
* java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
Use _Jv_Malloc.