gcc/libjava
Andrew Haley 904715853c lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New.
2003-10-22  Andrew Haley  <aph@redhat.com>

        * lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New.
        (java_get_callee_fndecl): New.

        * jcf-parse.c (java_parse_file): Call emit_catch_table().

        * java-tree.h (ctable_decl): New.
        (catch_classes):  New.
        (java_tree_index): Add JTI_CTABLE_DECL, JTI_CATCH_CLASSES.

        * decl.c (java_init_decl_processing): Add catch_class_type.
        Add ctable_decl.
        Add catch_classes field.

        * class.c (build_indirect_class_ref): Break out from
        build_class_ref.
        (make_field_value): Check flag_indirect_dispatch.
        (make_class_data): Ditto.
        Tidy uses of PUSH_FIELD_VALUE.
        Add field catch_classes.
        (make_catch_class_record): New.

        * java-tree.h (PUSH_FIELD_VALUE): Tidy.

2003-10-22  Andrew Haley  <aph@redhat.com>

        * java/lang/natClass.cc (initializeClass): Call
        _Jv_linkExceptionClassTable.
        (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
        _Jv_Defer_Resolution on a method whose ncode is NULL.
        (_Jv_linkExceptionClassTable): New function.
        (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
        entry, look it up.
        * java/lang/Class.h (struct _Jv_CatchClass): New.
        (_Jv_linkExceptionClassTable): New friend.
        (_Jv_Defer_Resolution): New friend.
        (class Class.catch_classes): New field.
        * include/java-interp.h (Jv_Defer_Resolution): New method.
        (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
        (_Jv_MethodBase.deferred): New field.
        (_Jv_Defer_Resolution): New function.
        * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
        * exception.cc (get_ttype_entry): Change return type to void**.
        (PERSONALITY_FUNCTION): Remove all code related to using a
        Utf8Const* for a match type.  Change match type to be a pointer to
        a pointer, rather than a pointer to a Class.
        * defineclass.cc (handleCodeAttribute): Initialize
        method->deferred.
        (handleMethodsEnd): Likewise.

From-SVN: r72886
2003-10-24 09:29:43 +00:00
..
doc
gcj mips-signal.h: New file. 2003-10-22 16:35:17 +00:00
gnu re PR libgcj/12656 (Inherited main( ) Method Not Seen At Runtime) 2003-10-22 18:05:57 +00:00
include lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. 2003-10-24 09:29:43 +00:00
java lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. 2003-10-24 09:29:43 +00:00
javax UIDefaults.java (putDefaults): Readded accidently removed "public" modifier. 2003-10-15 13:44:22 +00:00
jni GtkButtonPeer.java (handleEvent): Remove modality check. 2003-10-09 00:26:29 +00:00
libltdl configure.in: Set INCLUDES to absolute path. 2003-08-07 21:34:19 +00:00
org Makefile.am (ordinary_java_source_files): Add org/xml/sax/helpers/NewInstance.java. 2002-12-20 03:49:20 +00:00
scripts javaprims.h: Updated. 2002-12-30 22:42:20 +00:00
sysdep mips-signal.h: New file. 2003-10-22 16:35:17 +00:00
testsuite re PR libgcj/12416 (java.lang.Class.getFields returns duplicate entries.) 2003-10-22 19:28:15 +00:00
COPYING
ChangeLog lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. 2003-10-24 09:29:43 +00:00
ChangeLog-1999
ChangeLog-2001
HACKING
LIBGCJ_LICENSE
Makefile.am mips-signal.h: New file. 2003-10-22 16:35:17 +00:00
Makefile.in mips-signal.h: New file. 2003-10-22 16:35:17 +00:00
NEWS
README
THANKS THANKS: Fix punctuation, alphabetization. 2002-03-15 22:36:05 +00:00
acconfig.h acconfig.h: Removed most items. 2003-09-11 17:25:47 +00:00
acinclude.m4 acinclude.m4 (AM_LC_LOCALES): Added check for locale.h. 2003-09-24 05:39:23 +00:00
aclocal.m4 aclocal.m4: Rebuilt. 2003-09-25 18:26:53 +00:00
addr2name.awk
boehm.cc ClassLoader.java (setSigners): Implemented. 2003-10-09 16:24:55 +00:00
configure mips-signal.h: New file. 2003-10-22 16:35:17 +00:00
configure.host mips-signal.h: New file. 2003-10-22 16:35:17 +00:00
configure.in mips-signal.h: New file. 2003-10-22 16:35:17 +00:00
defineclass.cc lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. 2003-10-24 09:29:43 +00:00
exception.cc lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. 2003-10-24 09:29:43 +00:00
gij.cc * gij.cc (help): Document -? and -X. 2003-08-13 17:20:08 +00:00
glib-2.0.m4 glib-2.0.m4: New file. 2003-06-30 23:53:29 +00:00
gtk-2.0.m4 glib-2.0.m4: New file. 2003-06-30 23:53:29 +00:00
interpret.cc interpret.cc (_Jv_InterpMethod::run): Don't use libffi types, they were meant to be internal. 2003-10-14 17:53:42 +00:00
jni.cc jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a compiler warning but produces a different... 2003-09-22 08:05:51 +00:00
libart.m4 libart.m4: check for libart-config binary under the name libart2-config as well. 2003-08-04 18:27:27 +00:00
libgcj-test.spec.in * libgcj.spec.in, libgcj-test.spec.in: Revert for now. 2002-03-31 18:24:59 +00:00
libgcj.pc.in 2003-07-09 Michael Koch <konqueror@gmx.de> 2003-07-09 07:11:13 +00:00
libgcj.spec.in configure.host (alpha*-*): Default to -mieee. 2003-02-13 02:51:26 +00:00
libtool-version * libtool-version: Increased `current'. 2002-12-20 01:47:54 +00:00
mauve-libgcj * mauve-libgcj: Don't run CollationElementIterator tests. 2003-07-19 22:19:56 +00:00
no-threads.cc
nogc.cc
posix-threads.cc posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor. 2003-10-21 04:46:19 +00:00
posix.cc posix.cc: added #include<stdio.h> 2003-07-08 04:49:16 +00:00
prims.cc prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't overflow a jint. 2003-10-16 21:19:53 +00:00
resolve.cc lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. 2003-10-24 09:29:43 +00:00
verify.cc For PR libgcj/7482: 2003-07-24 17:18:00 +00:00
win32-threads.cc win32-threads.cc: (ensure_interrupt_event_initialized) New function for lazy initialization of an... 2003-09-19 08:28:43 +00:00
win32.cc win32.cc: (_Jv_pipe) Implemented. 2003-10-17 18:44:42 +00:00

README

This is libgcj: the runtime library for gcj, the GNU Compiler for Java. 
libgcj provides a partial implementation of the Java Class Libraries.

libgcj is free software.  See the file LIBGCJ_LICENSE for copying permission.


DOCUMENTATION
=============

All documentation, including detailed installation and usage instructions,
can be found on the gcj web pages at this URL:

		http://gcc.gnu.org/java/


REQUIREMENTS
============

libgcj must be built with a compatible version of the gcc compiler. libgcj
releases are usually numbered according to their corresponding gcc release.
For example, if this is "libgcj 2.95.3", you need to build it using "gcc
2.95.3".


QUICK INSTALLATION
==================

  > mkdir build
  > cd build
  > ../libgcj/configure --enable-threads=<THREADS_TYPE> --prefix=<DIR>
  > make
  > make install

where:

<THREADS_TYPE> specifies the threads library to be used by libgcj. Currently 
the possible values are "posix" and "none". This value must be the same as
the value used when configuring gcc itself.

<DIR> specifies the installation directory. This should be the same location 
as where gcc is installed.

Consult the gcj web pages for additional "configure" arguments.

NOTE: libgcj can not be built in the same directory as `configure'. You must 
create a separate build directory. 


BUGS
====

Please submit bug reports via this URL:

	http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc