gcc/libjava
Mohan Embar 677f99cce5 * gnu/java/nio/SelectorImpl.java
(selectThreadMutex): New field.
	(selectThread): New field.
	(unhandledWakeup): New field.
	(implCloseSelector): Added skeleton code which
	synchronizes as per Sun JRE JavaDoc.
	(keys): Throw ClosedSelectorException if selector
	is closed.
	(selectNow): Added comment that we're faking out
	an immediate select with a one-microsecond-timeout one.
	(select): Use 0 instead of -1 for infinite timeout.
	(implSelect): Changed comment in declaration.
	(select): Added synchronized to method declaration.
	Added synchronization and wakeup support as per Sun
	JRE JavaDoc.
	(selectedKeys): Throw ClosedSelectorException if selector
	is closed.
	(wakeup): Implemented.
	(deregisterCancelledKeys): Synchronize on cancelled key
	set before deregistering.
	(register): Synchronize on key set before registering.
	* java/nio/channels/spi/AbstractSelector.java
	Added import for java.nio.channels.ClosedSelectorException.
	(close): Added synchronized to method declaration.
	(cancelledKeys): Throw ClosedSelectorException if selector
	is closed.
	(cancelKey): Synchronize on cancelled key set before key.

From-SVN: r74879
2003-12-20 15:33:24 +00:00
..
doc
gcj javaprims.h: Added missing java.util.Currency. 2003-11-25 18:26:08 +00:00
gnu * gnu/java/nio/SelectorImpl.java 2003-12-20 15:33:24 +00:00
include win32.cc (WSAEventWrapper): Implemented default constructor and init() methods. 2003-12-16 22:54:22 +00:00
java * gnu/java/nio/SelectorImpl.java 2003-12-20 15:33:24 +00:00
javax EventDirContext.java: Jalopied. 2003-12-11 15:41:21 +00:00
jni 2003-12-16 Fernando Nasser <fnasser@redhat.com> 2003-12-16 17:20:34 +00:00
libltdl ltdl.c: Define __private_extern__ if needed. 2003-12-18 21:23:47 +00:00
org Makefile.am (ordinary_java_source_files): Add org/xml/sax/helpers/NewInstance.java. 2002-12-20 03:49:20 +00:00
scripts javaprims.h: Updated. 2002-12-30 22:42:20 +00:00
sysdep locks.h (__cas_start_atomic): %g0 --> %%g0. 2003-10-28 06:19:23 -08:00
testsuite mauve-libgcj: Removed the disabling of java.text.ACIAttribute and... 2003-12-18 20:23:48 +00:00
COPYING
ChangeLog * gnu/java/nio/SelectorImpl.java 2003-12-20 15:33:24 +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.am (ordinary_java_source_files): Added gnu.java.net.URLParseError.java. 2003-12-20 12:45:11 +00:00
Makefile.in Makefile.am (ordinary_java_source_files): Added gnu.java.net.URLParseError.java. 2003-12-20 12:45:11 +00:00
NEWS
README
THANKS THANKS: Fix punctuation, alphabetization. 2002-03-15 22:36:05 +00:00
acconfig.h acconfig.h: Removed most items. 2003-09-11 17:25:47 +00:00
acinclude.m4 acinclude.m4 (AM_LC_LOCALES): Added check for locale.h. 2003-09-24 05:39:23 +00:00
aclocal.m4 configure: Rebuilt. 2003-11-28 19:48:10 +00:00
addr2name.awk
boehm.cc boehm.cc (_Jv_MarkObj): Access hack_signers field. 2003-12-04 13:07:07 +00:00
configure configure.in: Added new MinGW-specific configure flag --with-win32-nlsapi. 2003-12-02 22:26:50 +00:00
configure.host mips-signal.h: New file. 2003-10-22 16:35:17 +00:00
configure.in configure.in: Added new MinGW-specific configure flag --with-win32-nlsapi. 2003-12-02 22:26:50 +00:00
defineclass.cc lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. 2003-10-24 09:29:43 +00:00
exception.cc lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. 2003-10-24 09:29:43 +00:00
gij.cc * gij.cc (help): Document -? and -X. 2003-08-13 17:20:08 +00:00
glib-2.0.m4 glib-2.0.m4: New file. 2003-06-30 23:53:29 +00:00
gtk-2.0.m4 glib-2.0.m4: New file. 2003-06-30 23:53:29 +00:00
interpret.cc interpret.cc (_Jv_InterpMethod::run): Don't use libffi types, they were meant to be internal. 2003-10-14 17:53:42 +00:00
jni.cc jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string is null. 2003-11-18 17:56:33 +00:00
libart.m4 libart.m4: check for libart-config binary under the name libart2-config as well. 2003-08-04 18:27:27 +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.pc.in 2003-07-09 Michael Koch <konqueror@gmx.de> 2003-07-09 07:11:13 +00:00
libgcj.spec.in configure.host (alpha*-*): Default to -mieee. 2003-02-13 02:51:26 +00:00
libtool-version * libtool-version: Increased `current'. 2002-12-20 01:47:54 +00:00
mauve-libgcj mauve-libgcj: Removed the disabling of java.text.ACIAttribute and... 2003-12-18 20:23:48 +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_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor. 2003-10-21 04:46:19 +00:00
posix.cc posix.cc: added #include<stdio.h> 2003-07-08 04:49:16 +00:00
prims.cc prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't overflow a jint. 2003-10-16 21:19:53 +00:00
resolve.cc lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. 2003-10-24 09:29:43 +00:00
verify.cc verify.cc (state::clean_subrs): Clear seen_subrs. 2003-12-02 03:42:40 +00:00
win32-threads.cc re PR libgcj/12647 ([win32] wait() does not release monitor correctly) 2003-10-31 03:36:38 +00:00
win32.cc win32.cc (WSAEventWrapper): Implemented default constructor and init() methods. 2003-12-16 22:54:22 +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