gcc/libjava
Tom Tromey 7e648cf954 prims.cc (_Jv_MallocUnchecked): New function.
* prims.cc (_Jv_MallocUnchecked): New function.
	(main_init): Call _Jv_JNI_Init.
	* include/jvm.h (_Jv_MallocUnchecked): Declare.
	(_Jv_JNI_Init): Declare.
	* jni.cc: Include Hashtable.h, OutOfMemoryError.h, Integer.h,
	<string.h>.
	(_Jv_JNI_NewGlobalRef): New function.
	(_Jv_JNI_DeleteGlobalRef): New function.
	(_Jv_JNI_DeleteLocalRef): New function.
	(_Jv_JNI_conversion_call): Initialize and clear local reference
	frame.
	(_Jv_JNI_NewLocalRef): New function.
	(struct _Jv_JNI_LocalFrame): New structure.
	(_Jv_JNI_PushLocalFrame): New function.
	(_Jv_JNI_EnsureLocalCapacity): New function.
	(FRAME_SIZE): New define.
	(_Jv_JNI_GetStringChars): Mark string, not characters.
	(_Jv_JNI_ReleaseStringChars): Unmark string, not characters.
	(_Jv_JNI_GetPrimitiveArrayElements): Mark array, not elements.
	(_Jv_JNI_ReleasePrimitiveArrayElements): Unmark array, not
	elements.
	(_Jv_JNI_DefineClass): Make return value a local ref.
	(_Jv_JNI_FindClass): Likewise.
	(_Jv_JNI_GetSuperclass): Likewise.
	(_Jv_JNI_ExceptionOccurred): Likewise.
	(_Jv_JNI_AllocObject): Likewise.
	(_Jv_JNI_GetObjectClass): Likewise.
	(_Jv_JNI_CallAnyMethodV): Likewise.
	(_Jv_JNI_NewString): Likewise.
	(_Jv_JNI_NewStringUTF): Likewise.
	(_Jv_JNI_NewObjectArray): Likewise.
	(_Jv_JNI_GetObjectArrayElement): Likewise.
	(_Jv_JNI_ToReflectedField): Likewise.
	(_Jv_JNI_ToReflectedMethod): Likewise.
	(_Jv_JNIFunctions): Updated table for new functions.
	(_Jv_JNI_Init): New function.
	(mark_for_gc): Wrote.
	(unmark_for_gc): Wrote.
	* include/jni.h (struct JNINativeInterface): Removed name from
	PopLocalFrame parameter.
	(class _Jv_JNIEnv): Added `locals' field.

From-SVN: r31730
2000-02-01 06:14:26 +00:00
..
doc
gcj method.h (JvNumMethods): Moved from Class.h. 2000-01-26 23:56:36 +00:00
gnu/gcj natIconv.cc (read): Minor fixes. 2000-01-31 08:56:09 +00:00
include prims.cc (_Jv_MallocUnchecked): New function. 2000-02-01 06:14:26 +00:00
java method.h (JvNumMethods): Moved from Class.h. 2000-01-26 23:56:36 +00:00
libltdl
testsuite final_inner.java: New file. 2000-01-30 22:08:32 +00:00
acconfig.h config.h.in: Rebuilt. 2000-01-31 04:53:47 +00:00
acinclude.m4
aclocal.m4
boehm.cc natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA. 2000-01-21 23:50:31 +00:00
ChangeLog prims.cc (_Jv_MallocUnchecked): New function. 2000-02-01 06:14:26 +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 config.h.in: Rebuilt. 2000-01-31 04:53:47 +00:00
configure.host
configure.in config.h.in: Rebuilt. 2000-01-31 04:53:47 +00:00
COPYING.LIB
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 (run): Don't call println. 2000-01-26 00:56:36 +00:00
jni.cc prims.cc (_Jv_MallocUnchecked): New function. 2000-02-01 06:14:26 +00:00
LIBGCJ_LICENSE
libgcj.spec.in
libgcjdata.c * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
libtool-version
Makefile.am config.h.in: Rebuilt. 2000-01-31 04:53:47 +00:00
Makefile.in config.h.in: Rebuilt. 2000-01-31 04:53:47 +00:00
mauve-libgcj
name-finder.cc
NEWS Updated NEWS file. 2000-01-19 23:08:05 +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
README
resolve.cc resolve.cc (get_ffi_type_from_signature): Handle case where boolean is an int. 2000-01-26 23:44:40 +00:00
THANKS

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