gcc/libjava
Per Bothner 35d0b14df6 ByteBuffer.java (endian): Make non-private so other java.nio classes can inherit it.
* java/nio/ByteBuffer.java (endian):  Make non-private so other
	java.nio classes can inherit it.
	(<init>):  Don't bother clearing array_offset.
	* java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
	* java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
	Remove redundant test.

	* java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
	asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
	Use new XxxViewBufferImpl constructors.
	* java/nio/MappedByteBufferImpl.java:  Likewise.
	* java/nio/DirectByteBufferImpl.java:  Likewise.

	* java/nio/ByteBufferImpl.java:  Remove one constructor.
	Inline super in remaining constructor.
	* java/nio/ByteBuffer.java:  Remove unused constructor.

	* java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.

	* java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
	* java/nio/DirectByteBufferImpl.java (owner):  New field.
	(offset):  Remove unused field.
	(<init>):  Modify one and add another constructor.  Change callers.
	(allocateDirect):  Removed - not used.
	(getImpl, putImpl):  Make static and pass address explicitly,
	to make them useful for MappedByteBufferImpl.
	(get, put):  Check for underflow.  Modify for new getImpl.
	(getImpl):  New native method where target is array.
	(get(byte[],int,int)):  Use the above.
	(adjustAddress):  New static native method.
	(slice, duplicate, asReadOnly):  New implementations.
	* java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
	adjustAddress):  New or updated native methods.

From-SVN: r77919
2004-02-16 12:00:33 -08:00
..
doc
gcj 2004-01-13�� David Jee�� <djee@redhat.com> 2004-01-13 17:37:23 +00:00
gnu ToggleButtonModel.java: Remove dead class. 2004-02-12 00:17:26 +00:00
include linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Don't bump retaddr here. 2004-02-10 23:57:43 +10:30
java ByteBuffer.java (endian): Make non-private so other java.nio classes can inherit it. 2004-02-16 12:00:33 -08:00
javax UndoManager.java: Re-written from scratch. 2004-02-14 20:45:58 +00:00
jni ToggleButtonModel.java: Remove dead class. 2004-02-12 00:17:26 +00:00
libltdl configure.in: Add in AC_PREREQ(2.13) 2004-01-15 03:41:49 +00:00
org
scripts MakeDefaultMimeTypes.java: Use \n, not backslash-newline. 2004-01-08 05:20:31 +00:00
sysdep locks.h: Don't use in/out memory constraints. 2004-01-16 17:25:26 +00:00
testsuite re PR libgcj/13107 (Wrong verification error in gij: recursive subroutine call) 2004-01-23 02:49:57 +00:00
COPYING
ChangeLog ByteBuffer.java (endian): Make non-private so other java.nio classes can inherit it. 2004-02-16 12:00:33 -08:00
ChangeLog-1999
ChangeLog-2001
ChangeLog-2002 ChangeLog rotation 2004-01-17 08:40:41 +00:00
ChangeLog-2003 ChangeLog rotation 2004-01-17 08:40:41 +00:00
HACKING
LIBGCJ_LICENSE
Makefile.am remove accidentally-committed extra makefile entry (not yet finished or added). 2004-02-12 07:10:06 +00:00
Makefile.in remove accidentally-committed extra makefile entry (not yet finished or added). 2004-02-12 07:10:06 +00:00
NEWS
README
THANKS
acconfig.h
acinclude.m4 configure.in: Add --enable-gtk-cairo check. 2003-12-31 08:58:31 +00:00
aclocal.m4 aclocal.m4: Rebuilt using "aclocal -I .". 2004-01-04 09:18:06 +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: Add pkgconfig check for glib and gthread. 2004-02-02 02:18:33 +00:00
configure.host linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Corrected to handle kernels with changed ucontext. 2004-01-23 18:32:16 +01:00
configure.in configure.in: Add pkgconfig check for glib and gthread. 2004-02-02 02:18:33 +00:00
defineclass.cc
exception.cc
gij.cc
interpret.cc
jni.cc jvm.h (MAYBE_UNUSED): New macro tp mark probably unused arguments. 2004-02-01 20:05:03 +00:00
libgcj-test.spec.in
libgcj.pc.in
libgcj.spec.in
libtool-version libtool-version: Increased `current' to 6. 2004-01-19 19:01:59 +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
nogc.cc
pkg.m4 configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1. 2004-01-30 22:01:11 +00:00
posix-threads.cc
posix.cc
prims.cc re PR libgcj/12001 (_Jv_FindClass dumps core when Oracle's classes12.zip in $CLASSPATH) 2004-01-14 22:49:58 +00:00
resolve.cc
verify.cc jvm.h (MAYBE_UNUSED): New macro tp mark probably unused arguments. 2004-02-01 20:05:03 +00:00
win32-threads.cc
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