gcc/libjava
Tom Tromey aaf0766e9f natNativeThread.cc: New file.
* gnu/gcj/jni/natNativeThread.cc: New file.
	* gnu/gcj/jni/NativeThread.java: New file.
	* java/lang/Thread.java (data): Now a RawData.
	* include/jvm.h (_Jv_GetCurrentJNIEnv, _Jv_SetCurrentJNIEnv):
	Declare.
	* Makefile.in: Rebuilt.
	* Makefile.am (java/lang/Thread.h): New target.
	(ordinary_java_source_files): Added NativeThread.java.
	(nat_source_files): Added natNativeThread.cc.
	* java/lang/natThread.cc: Include <jni.h>
	(struct natThread): Added `jni_env' field.
	(_Jv_GetCurrentJNIEnv): New function.
	(_Jv_SetCurrentJNIEnv): Likewise.
	(initialize_native): Initialize jni_env.
	Include RawData.h.
	* jni.cc (ThreadGroupClass): New define.
	(_Jv_JNI_InvokeFunctions): New structure.
	(JNI_GetCreatedJavaVMs): New function.
	(the_vm): New global.
	(JNI_GetDefaultJavaVMInitArgs): New function.
	Include NativeThread.h.
	(NativeThreadClass): New define.
	(_Jv_JNI_EnsureLocalCapacity): Return JNI_ERR, not -1.
	(_Jv_JNI_DestroyJavaVM): New function.
	(_Jv_JNI_AttachCurrentThread): New function.
	(_Jv_JNI_DetachCurrentThread): New function.
	(_Jv_JNI_GetEnv): New function.
	(JNI_CreateJavaVM): New function.
	(_Jv_JNI_GetJavaVM): New function.
	(_Jv_JNIFunctions): Added entry for GetJavaVM.
	* include/jni.h (JavaVMAttachArgs): New structure.
	(JNI_EDETACHED): New define.
	(JNI_EVERSION): Likewise.
	(JavaVM): Define properly.
	(struct JNIInvokeInterface): New structure.
	(class _Jv_JavaVM): New class.
	(JNI_OnLoad, JNI_OnUnload): Declare.
	(JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM,
	JNI_GetCreatedJavaVMs): Declare.
	(JavaVMInitArgs): New typedef.
	(JavaVMOption): Likewise.
	(JNI_ERR): New define.
	(JNI_OK): Likewise.

From-SVN: r31901
2000-02-10 20:31:48 +00:00
..
doc
gcj method.h (JvNumMethods): Moved from Class.h. 2000-01-26 23:56:36 +00:00
gnu/gcj natNativeThread.cc: New file. 2000-02-10 20:31:48 +00:00
include natNativeThread.cc: New file. 2000-02-10 20:31:48 +00:00
java natNativeThread.cc: New file. 2000-02-10 20:31:48 +00:00
libltdl Initial revision 2000-01-17 19:00:44 +00:00
testsuite anonarray3.out: New file. 2000-02-09 20:49:34 +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 natConstructor.cc (newInstance): Use _Jv_CallAnyMethodA. 2000-01-21 23:50:31 +00:00
ChangeLog natNativeThread.cc: New file. 2000-02-10 20:31:48 +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 natString.cc (init): Test for overflow condition during out of bounds check. 2000-01-09 22:25:54 +00:00
configure.in config.h.in: Rebuilt. 2000-01-31 04:53:47 +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 interpret.cc: Don't include fdlibm.h. 2000-02-10 17:16:30 +00:00
jni.cc natNativeThread.cc: New file. 2000-02-10 20:31:48 +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 natNativeThread.cc: New file. 2000-02-10 20:31:48 +00:00
Makefile.in natNativeThread.cc: New file. 2000-02-10 20:31:48 +00:00
mauve-libgcj
name-finder.cc name-finder.cc (lookup): Check for dladdr function. 2000-01-18 14:42:14 +00:00
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 interpret.cc: Don't include fdlibm.h. 2000-02-10 17:16:30 +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