gcc/libjava
Tom Tromey 880f8c16ad Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (java/lang/Thread.h): Mark
	_Jv_AttachCurrentThreadAsDaemon as friend.
	* gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
	* gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
	* java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
	function.
	* java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
	* jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
	(_Jv_JNI_InvokeFunctions): Added
	_Jv_JNI_AttachCurrentThreadAsDaemon.
	(_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
	(JNI_GetDefaultJavaVMInitArgs): Likewise.
	(JNI_CreateJavaVM): Likewise.
	(_Jv_JNI_AttachCurrentThread): Likewise.
	(_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
	(_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
	(_Jv_JNIFunctions): Initialize new fields.
	(_Jv_JNI_NewDirectByteBuffer): New function.
	(_Jv_JNI_GetDirectBufferAddress): Likewise.
	(_Jv_JNI_GetDirectBufferCapacity): Likewise.
	* include/jni.h (JNI_VERSION_1_4): New macro.
	(JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
	(_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
	(JNINativeInterface::NewDirectByteBuffer): New field.
	(JNINativeInterface::GetDirectBufferAddress): New field.
	(JNINativeInterface::GetDirectBufferCapacity): New field.
	(_Jv_JNIEnv::NewDirectByteBuffer): New method.
	(_Jv_JNIEnv::GetDirectBufferAddress): New method.
	(_Jv_JNIEnv::GetDirectBufferCapacity): New method.

From-SVN: r52144
2002-04-10 20:36:04 +00:00
..
doc except.c (choose_personality_routine): Export. 2001-05-13 01:28:18 +00:00
gcj Makefile.in: Rebuilt. 2002-04-10 20:36:04 +00:00
gnu For PR libgcj/5303: 2002-03-25 22:08:27 +00:00
include Makefile.in: Rebuilt. 2002-04-10 20:36:04 +00:00
java Makefile.in: Rebuilt. 2002-04-10 20:36:04 +00:00
javax Add license clarification. 2002-01-22 22:40:42 +00:00
libltdl configure: Rebuilt. 2001-07-03 22:33:24 +00:00
org HACKING, [...]: Fix spelling errors. 2001-10-31 00:48:17 +00:00
scripts unicode-decomp.pl: Move from chartables.pl... 2002-03-06 18:54:45 +00:00
sysdep posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier, not release_set. 2002-03-21 00:26:46 +00:00
testsuite re PR java/6204 (gcj generates invalid byte code) 2002-04-09 06:25:11 +01:00
COPYING COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 09:12:19 +00:00
ChangeLog Makefile.in: Rebuilt. 2002-04-10 20:36:04 +00:00
ChangeLog-1999
ChangeLog-2001 ChangeLog rotation 2002-01-22 00:20:23 +00:00
HACKING * HACKING: Fix URL for the automake-gcj. 2002-02-08 01:22:47 +00:00
LIBGCJ_LICENSE Add license clarification. 2002-01-22 22:40:42 +00:00
Makefile.am Makefile.in: Rebuilt. 2002-04-10 20:36:04 +00:00
Makefile.in Makefile.in: Rebuilt. 2002-04-10 20:36:04 +00:00
NEWS
README gcj.texi: Change sources.redhat.com reference to gcc.gnu.org. 2001-02-08 01:49:53 +00:00
THANKS THANKS: Fix punctuation, alphabetization. 2002-03-15 22:36:05 +00:00
acconfig.h natSystem.cc (init_properties): Update VM version properties. 2002-03-18 06:19:03 +00:00
acinclude.m4 acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of glibcpp_CXX, since libjava uses even another CXX. 2002-02-27 02:18:09 +00:00
aclocal.m4 acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of glibcpp_CXX, since libjava uses even another CXX. 2002-02-27 02:18:09 +00:00
addr2name.awk Jumbo patch: 2000-05-19 17:55:34 +00:00
boehm.cc boehm.cc (initialized, [...]): Removed unused declarations. 2002-02-12 04:14:52 +00:00
configure libgcj.spec.in: Add CHECKREFSPEC. 2002-03-27 16:41:44 +00:00
configure.host configure.host: Add case statement to support generic port properties. 2002-04-05 04:17:11 +00:00
configure.in libgcj.spec.in: Add CHECKREFSPEC. 2002-03-27 16:41:44 +00:00
defineclass.cc resolve.cc (_Jv_PrepareClass): Verify method here... 2001-12-10 01:18:30 +00:00
exception.cc exception.cc (abort): added static modifier 2002-04-06 04:19:10 +00:00
gij.cc natSystem.cc (init_properties): Use __VERSION__. 2002-02-27 05:32:29 +00:00
interpret.cc interpret.cc (continue1): Use PUSHL, not PUSHI. 2002-02-10 18:32:48 +00:00
jni.cc Makefile.in: Rebuilt. 2002-04-10 20:36:04 +00:00
libgcj-test.spec.in * libgcj.spec.in, libgcj-test.spec.in: Revert for now. 2002-03-31 18:24:59 +00:00
libgcj.spec.in * libgcj.spec.in, libgcj-test.spec.in: Revert for now. 2002-03-31 18:24:59 +00:00
libtool-version Makefile.am: Make target library a convenience library. 2002-03-17 00:35:21 +00:00
mauve-libgcj mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode test. 2002-04-05 00:47:34 +00:00
name-finder.cc name-finder.h (_Jv_name_finder::myclose): New method. 2002-03-23 16:14:28 +00:00
no-threads.cc natFinalizerThread.cc: New file. 2001-10-10 22:25:43 +00:00
nogc.cc nogc.cc: Remove warnings. 2002-01-27 22:33:35 +00:00
posix-threads.cc posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier, not release_set. 2002-03-21 00:26:46 +00:00
posix.cc natSystem.cc (init_properties): Call new function _Jv_platform_initProperties. 2002-04-07 12:27:00 +01:00
prims.cc Hashtable synchronization for PowerPC. 2002-03-10 03:53:16 +00:00
resolve.cc * resolve.cc (_Jv_PrepareClass): Enable verifier. 2002-01-08 20:51:45 +00:00
verify.cc verify.cc (state::NO_STACK): New constant. 2002-03-10 04:50:21 +00:00
win32-threads.cc win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new 2002-02-25 02:01:29 +00:00
win32.cc * win32.cc (_Jv_platform_initProperties): Use GetTempPath. 2002-04-09 17:44:32 +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 LIBGCJ_LICENSE for copying permission.


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

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

		http://gcc.gnu.org/java/


REQUIREMENTS
============

libgcj must be built with a compatible version of the gcc compiler. libgcj
releases are usually numbered according to their corresponding gcc release.
For example, if this is "libgcj 2.95.3", you need to build it using "gcc
2.95.3".


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

  > mkdir build
  > cd build
  > ../libgcj/configure --enable-threads=<THREADS_TYPE> --prefix=<DIR>
  > make
  > make install

where:

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

<DIR> specifies the installation directory. This should be the same location 
as where gcc is installed.

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

NOTE: libgcj can not be built in the same directory as `configure'. You must 
create a separate build directory. 


BUGS
====

Please submit bug reports via this URL:

	http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc