8sa1-gcc/libjava
Bryce McKinlay ddf0fc6c9f resolve.cc (_Jv_SearchMethodInClass): New function.
2000-03-07  Bryce McKinlay  <bryce@albatross.co.nz>

        * resolve.cc (_Jv_SearchMethodInClass): New function.
        (_Jv_ResolvePoolEntry): Search superinterfaces for interface
        methods.
        * java/lang/Class.h (_Jv_SearchMethodInClass): New prototype.

2000-03-07  Bryce McKinlay  <bryce@albatross.co.nz>

        * java/lang/Class.h (union _Jv_IDispatchTable): New declaration.
        (struct _Jv_ifaces): New declaration.
        JV_CLASS: New macro definition.
        (getComponentType): Relocate below isArray() for inlining.
        (getModifiers): Declare `inline'.
        (getSuperclass): Ditto.
        (isArray): Ditto.
        (isPrimitive): Ditto.
        (_Jv_IsAssignableFrom): New prototype.
        (_Jv_LookupInterfaceMethodIdx): New prototype. Predeclare with "C"
        linkage.
        (_Jv_InitClass): Move from natClass.cc. Declare `inline'.
        Check for JV_STATE_DONE before invoking initializeClass().
        (_Jv_PrepareConstantTimeTables): New prototype.
        (_Jv_GetInterfaces): Ditto.
        (_Jv_GenerateITable): Ditto.
        (_Jv_GetMethodString): Ditto.
        (_Jv_AppendPartialITable): Ditto.
        (_Jv_FindIIndex): Ditto.
        depth, ancestors, idt: New class fields.

        * java/lang/natClass.cc (isAssignableFrom): Move functionality to
        inline function `_Jv_IsAssignableFrom'. Use that function.
        (isInstance): Declare `inline'.
        (initializeClass): Get lock on class before checking `state'. Unlock
        before calling resolveClass0. Call _Jv_PrepareConstantTimeTables
	with the lock held.
        (_Jv_LookupInterfaceMethod): Use _Jv_GetMessageString.
        (_Jv_IsAssignableFrom): New inline function. Test assignability
	using class->depth and ancestor table.
        (_Jv_IsInstanceOf): Use _Jv_IsAssignableFrom.
        (_Jv_CheckCast): Move from prims.cc. Use JV_CLASS and
        _Jv_IsAssignableFrom.
        (_Jv_CheckArrayStore): Ditto.
        (_Jv_LookupInterfaceMethodIdx): New function.
        INITIAL_IOFFSETS_LEN, INITIAL_IFACES_LEN: New #defines.
        (_Jv_PrepareConstantTimeTables): New function.
        (_Jv_IndexOf): Ditto.
        (_Jv_GetInterfaces): Ditto.
        (_Jv_GenerateITable): Ditto.
        (_Jv_GetMethodString): Ditto.
        (_Jv_AppendPartialITable): Ditto.
        iindex_mutex, iindex_mutex_initialized: New static fields.
        (_Jv_FindIIndex): New function.

        * java/lang/natClassLoader.cc (_Jv_NewClass): Set new jclass fields.

        * prims.cc (_Jv_CheckCast): Moved to natClass.cc.
        (_Jv_CheckArrayStore): Ditto.
        (JvNewCharArray, JvNewBooleanArray, JvNewByteArray, JvNewShortArray,
        JvNewIntArray, JvNewLongArray, JvNewFloatArray, JvNewDoubleArray):
        Moved to gcj/array.h.
        (_Jv_Realloc): New function.

        * gcj/cni.h: Move _Jv_PrimClass definitions to gcj/array.h.

        * gcj/array.h: _Jv_PrimClass definitions moved from gcj/cni.h.
        (JvNewCharArray, JvNewBooleanArray, JvNewByteArray,
        JvNewShortArray, JvNewIntArray, JvNewLongArray, JvNewFloatArray,
        JvNewDoubleArray): Implementations moved from prims.cc and
        declared `inline'.

        * gcj/javaprims.h (_Jv_Realloc): Prototype.

        * include/jvm.h (_Jv_LookupInterfaceMethodIdx): Prototype.

From-SVN: r32382
2000-03-07 09:52:56 +00:00
..
doc
gcj resolve.cc (_Jv_SearchMethodInClass): New function. 2000-03-07 09:52:56 +00:00
gnu/gcj configure.host: Fix __NO_MATH_INLNES botch. 2000-03-05 22:26:30 +00:00
include resolve.cc (_Jv_SearchMethodInClass): New function. 2000-03-07 09:52:56 +00:00
java resolve.cc (_Jv_SearchMethodInClass): New function. 2000-03-07 09:52:56 +00:00
libltdl ltdl.c: If HAVE_BOEHM_GC defined, includ gc.h. 2000-02-14 21:59:58 +00:00
scripts Makefile.in: Rebuilt. 2000-02-21 05:54:29 +00:00
testsuite Test for PR gcj/164: 2000-03-07 00:49:18 +00:00
acconfig.h config.h.in: Rebuilt. 2000-01-31 04:53:47 +00:00
acinclude.m4
aclocal.m4 Runtime.java (loadLibraryInternal): Declare. 2000-01-17 19:22:20 +00:00
boehm.cc * boehm.cc (_Jv_AllocBytes): Clear returned memory. 2000-02-21 05:14:06 +00:00
ChangeLog resolve.cc (_Jv_SearchMethodInClass): New function. 2000-03-07 09:52:56 +00:00
ChangeLog-1999 Rotated ChangeLogs 2000-02-17 22:57:30 +00:00
chartables.pl * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
configure configure: Rebuilt. 2000-03-04 21:50:19 +00:00
configure.host configure.host: Fix __NO_MATH_INLNES botch. 2000-03-05 22:26:30 +00:00
configure.in configure: Rebuilt. 2000-03-04 21:50:19 +00:00
COPYING.LIB
defineclass.cc defineclass.cc (handleMethodsBegin): Allocate _Jv_MethodBase pointers. 2000-02-04 20:49:27 +00:00
exception.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
gij.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
interpret.cc java-interp.h: Don't include MethodInvocation.h. 2000-03-02 20:25:20 +00:00
jni.cc jni.cc (MARK_NONE): New define. 2000-03-07 00:10:52 +00:00
LIBGCJ_LICENSE Initial revision 1999-04-07 14:42:40 +00:00
libgcj-test.spec.in configure: Rebuilt. 2000-03-04 21:50:19 +00:00
libgcj.spec.in libgcjdata.c: New file. 1999-12-20 02:18:11 +00:00
libgcjdata.c * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
libtool-version libtool-version: Catch up by incrementing current. 1999-10-15 06:07:41 +00:00
Makefile.am configure.host: Fix __NO_MATH_INLNES botch. 2000-03-05 22:26:30 +00:00
Makefile.in configure.host: Fix __NO_MATH_INLNES botch. 2000-03-05 22:26:30 +00:00
mauve-libgcj * mauve-libgcj: Don't disable ClassTest. 2000-01-07 20:42:26 +00:00
name-finder.cc name-finder.cc (lookup): Check for dladdr function. 2000-01-18 14:42:14 +00:00
NEWS Updated the NEWS 2000-02-15 09:35:51 +00:00
no-threads.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
nogc.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
posix-threads.cc * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
prims.cc resolve.cc (_Jv_SearchMethodInClass): New function. 2000-03-07 09:52:56 +00:00
README
resolve.cc resolve.cc (_Jv_SearchMethodInClass): New function. 2000-03-07 09:52:56 +00:00
THANKS THANKS updates 2000-02-29 17:11:46 +00:00

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 COPYING.LIB for copying permission.


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

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

		http://sourceware.cygnus.com/java/


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

  > mkdir build
  > cd build
  > ../libgcj/configure --enable-java-gc=<GC TYPE> \
    --enable-threads=<THREADS TYPE>
  > make
  > make install

where:

<GC TYPE> specifies the Garbage Collection library to be used by libgcj. 
Currently the only supported value is "boehm".

<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.

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

NOTE: libgcj can not be configured/built in the source directory. You must
create a separate build directory. 


BUGS
====

Please submit bug reports to the following URL:

	http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?database=java