gcc/libjava
Tom Tromey b099f07de9 java-interp.h: Don't include MethodInvocation.h.
* include/java-interp.h: Don't include MethodInvocation.h.
	(class _Jv_InterpMethod): Don't make MethodInvocation a friend.
	* Makefile.in: Rebuilt.
	* Makefile.am (gnu/gcj/runtime/MethodInvocation.h): Removed.
	(ordinary_java_source_files): Don't mention
	MethodInvocation.java.
	* gnu/gcj/runtime/MethodInvocation.java: Removed.
	* interpret.cc (MethodInvocation::continue1): Removed.
	(run): Handle exceptions here.
	* java/lang/ClassLoader.java (defineClass1, defineClass2):
	Removed.
	* java/lang/natClassLoader.cc (defineClass0): Catch exceptions
	here.
	(defineClass2): Removed.

	* java/lang/reflect/Method.java (hack_trampoline, hack_call):
	Removed.
	* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Catch
	exceptions here.
	(hack_call): Removed.

	* java/lang/Class.h (Class): Removed hackRunInitializers,
	hackTrampoline.
	* java/lang/natClass.cc (hackRunInitializers): Removed.
	(initializeClass): Catch exceptions here.
	Include ExceptionInInitializerError.h.
	* java/lang/Class.java (hackTrampoline, hackRunInitializers):
	Removed.

	* java/lang/Object.h (Object): Don't mention hack12_6.
	* java/lang/natObject.cc (_Jv_FinalizeObject): Catch exceptions
	here.
	* java/lang/Object.java (hack12_6): Removed.

	* java/lang/natThread.cc (run_): Renamed.  Catch exceptions here.
	(start): Use run_, not run__.
	* java/lang/Thread.java (run_): Renamed from run__; old run_
	removed.

	* jni.cc (_Jv_JNI_FindClass): Handle exceptions.
	(_Jv_JNI_EnsureLocalCapacity): Likewise.
	(_Jv_JNI_DefineClass): Likewise.
	(_Jv_JNI_ThrowNew): Likewise.
	(_Jv_JNI_AllocObject): Likewise.
	(_Jv_JNI_GetAnyMethodID): Likewise.
	(_Jv_JNI_CallAnyMethodV): Likewise.
	(_Jv_JNI_CallAnyMethodA): Likewise.
	(_Jv_JNI_CallAnyVoidMethodV): Likewise.
	(_Jv_JNI_CallAnyVoidMethodA): Likewise.
	(_Jv_JNI_GetAnyFieldID): Likewise.
	(_Jv_JNI_NewString): Likewise.
	(_Jv_JNI_NewStringUTF): Likewise.
	(_Jv_JNI_GetStringUTFChars): Likewise.
	(_Jv_JNI_NewObjectArray): Likewise.
	(_Jv_JNI_NewPrimitiveArray): Likewise.
	(_Jv_JNI_GetPrimitiveArrayRegion): Likewise.
	(_Jv_JNI_GetStringRegion): Likewise.
	(_Jv_JNI_GetStringUTFRegion): Likewise.
	(_Jv_JNI_SetPrimitiveArrayRegion): Likewise.
	(_Jv_JNI_MonitorEnter): Likewise.
	(_Jv_JNI_MonitorExit): Likewise.
	(_Jv_JNI_ToReflectedField): Likewise.
	(_Jv_JNI_ToReflectedMethod): Likewise.
	(_Jv_JNI_RegisterNatives): Likewise.
	(_Jv_JNI_AttachCurrentThread): Likewise.
	(_Jv_JNI_DestroyJavaVM): Likewise.

From-SVN: r32294
2000-03-02 20:25:20 +00:00
..
doc configure: Rebuilt. 1999-10-13 00:00:35 +00:00
gcj re GNATS gcj/152 (Installation flaw) 2000-02-17 18:34:14 +00:00
gnu/gcj java-interp.h: Don't include MethodInvocation.h. 2000-03-02 20:25:20 +00:00
include java-interp.h: Don't include MethodInvocation.h. 2000-03-02 20:25:20 +00:00
java java-interp.h: Don't include MethodInvocation.h. 2000-03-02 20:25:20 +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 static_inner.java: New file. 2000-02-29 04:18:35 +00:00
COPYING.LIB Initial revision 1999-04-07 14:42:40 +00:00
ChangeLog java-interp.h: Don't include MethodInvocation.h. 2000-03-02 20:25:20 +00:00
ChangeLog-1999 Rotated ChangeLogs 2000-02-17 22:57:30 +00:00
LIBGCJ_LICENSE Initial revision 1999-04-07 14:42:40 +00:00
Makefile.am java-interp.h: Don't include MethodInvocation.h. 2000-03-02 20:25:20 +00:00
Makefile.in java-interp.h: Don't include MethodInvocation.h. 2000-03-02 20:25:20 +00:00
NEWS Updated the NEWS 2000-02-15 09:35:51 +00:00
README README: New file. 1999-09-30 03:17:36 +01:00
THANKS THANKS updates 2000-02-29 17:11:46 +00:00
acconfig.h config.h.in: Rebuilt. 2000-01-31 04:53:47 +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 * boehm.cc (_Jv_AllocBytes): Clear returned memory. 2000-02-21 05:14:06 +00:00
chartables.pl * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
configure config.h.in: Rebuilt. 2000-01-31 04:53:47 +00:00
configure.host gcj/142 2000-02-13 18:07:09 +00:00
configure.in config.h.in: Rebuilt. 2000-01-31 04:53:47 +00:00
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 java-interp.h: Don't include MethodInvocation.h. 2000-03-02 20:25:20 +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 prims.cc (_Jv_MallocUnchecked): New function. 2000-02-01 06:14:26 +00:00
resolve.cc resolve.cc (ncode): Set args_raw_size. 2000-02-16 00:07:34 +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