gcc/libjava
Tom Tromey 8a9220959f natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA.
* java/lang/reflect/natConstructor.cc (newInstance): Use
	_Jv_CallAnyMethodA.
	* include/jvm.h: Declare _Jv_CallAnyMethodA.
	* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Renamed
	from _Jv_CallNonvirtualMethodA.  Changed interface; overloaded.
	Include <jni.h>.
	(COPY): Removed.
	(invoke): Use _Jv_CallAnyMethodA.
	(VAL): Redefined.
	* java/lang/Class.h (Class): Declare JvGetFirstStaticField,
	JvNumStaticFields, JvNumMethods, and JvGetFirstMethod as friend
	functions.
	(struct _Jv_Method): Added getNextMethod method.
	(JvNumMethods): New function.
	(JvGetFirstMethod): Likewise.
	* gcj/field.h (JvGetFirstStaticField): New function.
	(JvNumStaticFields): Likewise.
	(getNextField): Renamed from getNextInstanceField.
	(struct _Jv_Field): New method getClass.
	* jni.cc: Wrote many new functions.
	* include/jni.h (JNI_TRUE): Define.
	(JNI_FALSE): Likewise.
	(jobject, jclass, jstring, jarray, jthrowable, jobjectArray,
	jbyteArray, jshortArray, jintArray, jlongArray, jbooleanArray,
	jcharArray, jfloatArray, jdoubleArray): New typedefs.
	(jfieldID, jmethodID): Likewise.
	(JNI_COMMIT, JNI_ABORT): New defines.
	(JNINativeMethod): New struct.
	(struct JNINativeInterface): Correctly declared more entries.
	(class _Jv_JNIEnv): Added `ex' member.
	(JNI_VERSION_1_1): New define.
	(JNI_VERSION_1_2): Likewise.

	* boehm.cc (_Jv_MarkObj): Use getNextField, not
	getNextInstanceField.

From-SVN: r31553
2000-01-21 23:50:31 +00:00
..
doc configure: Rebuilt. 1999-10-13 00:00:35 +00:00
gcj natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA. 2000-01-21 23:50:31 +00:00
gnu/gcj * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
include natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA. 2000-01-21 23:50:31 +00:00
java natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA. 2000-01-21 23:50:31 +00:00
libltdl Initial revision 2000-01-17 19:00:44 +00:00
testsuite * libjava.compile/BlankFinal.java: New file. 2000-01-21 21:12:47 +00:00
COPYING.LIB Initial revision 1999-04-07 14:42:40 +00:00
ChangeLog natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA. 2000-01-21 23:50:31 +00:00
LIBGCJ_LICENSE Initial revision 1999-04-07 14:42:40 +00:00
Makefile.am Runtime.java (loadLibraryInternal): Declare. 2000-01-17 19:22:20 +00:00
Makefile.in natThrowable.cc: Don't use `#pragma implementation'. 2000-01-19 18:59:27 +00:00
NEWS Updated NEWS file. 2000-01-19 23:08:05 +00:00
README README: New file. 1999-09-30 03:17:36 +01:00
THANKS Updated the thanks list. 1999-12-03 03:00:39 +00:00
acconfig.h name-finder.cc (lookup): Check for dladdr function. 2000-01-18 14:42:14 +00:00
acinclude.m4 aclocal.m4, configure: Rebuilt. 1999-09-28 20:14:11 +00:00
aclocal.m4 Runtime.java (loadLibraryInternal): Declare. 2000-01-17 19:22:20 +00:00
boehm.cc natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA. 2000-01-21 23:50:31 +00:00
chartables.pl * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
classes.pl * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
configure configure: Rebuilt. 2000-01-19 05:06:03 +00:00
configure.host natString.cc (init): Test for overflow condition during out of bounds check. 2000-01-09 22:25:54 +00:00
configure.in configure: Rebuilt. 2000-01-19 05:06:03 +00:00
defineclass.cc resolve.cc (StringClass): Removed. 2000-01-20 17:32:26 +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 * interpret.cc (PC_REGISTER_ASM): Removed. 2000-01-19 21:08:03 +00:00
jni.cc natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA. 2000-01-21 23:50:31 +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
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
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 * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
resolve.cc resolve.cc (StringClass): Removed. 2000-01-20 17:32:26 +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 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