gcc/libjava
Bryce McKinlay 7177dab5c9 AbstractList.java: Throw messages with IndexOutOfBoundsExceptions.
2000-11-02  Bryce McKinlay  <bryce@albatross.co.nz>

	* java/util/AbstractList.java: Throw messages with
	IndexOutOfBoundsExceptions.
	 (listIterator()): Call listIterator(0).
	(size): New field. Initialize to size().
	(hasNext): Test position against size, not size().
	(remove): Increment knownMod by one instead of resetting it from
	modCount.
	(add): Ditto.
	(SubList.upMod): Removed.
	(SubList.set): Don't call upMod() or update knownMod.
	(SubList.add(int,Object)): Increment modCount instead of calling
	upMod().
	(SubList.remove): Ditto.
	(SubList.addAll): Don't call backingList.size(). Increment size from
	c.size().
	(SubList.iterator): New method. Call listIterator(0).
	(SubList.listIterator): New method. Restore code to return an
	anonymous listIterator implementation (with some changes).
	* java/util/AbstractSequentialList.java: Throw messages with
	IndexOutOfBoundsExceptions.
	(addAll): Add a specnote.
	* java/util/ArrayList.java (removeRange): Get the math right.
	(addAll): Increment modCount _before_ creating iterator.
	* java/util/LinkedList.java: Rewritten, mostly.

From-SVN: r37203
2000-11-02 10:08:03 +00:00
..
doc * doc/cni.sgml: Updated from master copy. 2000-09-05 17:48:57 +00:00
gcj jni.cc: Added include of java/lang/ThreadGroup.h. 2000-11-01 00:18:03 +00:00
gnu encodings.pl: Added `ASCII' alias. 2000-11-01 17:00:02 +00:00
include re GNATS libgcj/341 (Throwable.printStackTrace() isn't working) 2000-10-09 02:54:50 +01:00
java AbstractList.java: Throw messages with IndexOutOfBoundsExceptions. 2000-11-02 10:08:03 +00:00
libltdl * Updated from libtool multi-language branch. 2000-09-10 08:04:40 +00:00
scripts encodings.pl: Added `ASCII' alias. 2000-11-01 17:00:02 +00:00
sysdep Jumbo patch: 2000-05-19 17:55:34 +00:00
testsuite New test code 2000-10-09 02:20:28 +00:00
acconfig.h JVMPI changes... 2000-04-02 15:34:17 +00:00
acinclude.m4 configure.in (LIBDATASTARTSPEC): Use `%s' to search for libgcjdata.a. 2000-09-13 19:01:20 +00:00
aclocal.m4 Looks like Tom forgot to check this in... 2000-09-14 08:01:12 +00:00
addr2name.awk Jumbo patch: 2000-05-19 17:55:34 +00:00
boehm.cc natField.cc (BooleanClass): Don't define. 2000-10-06 01:49:32 +00:00
ChangeLog AbstractList.java: Throw messages with IndexOutOfBoundsExceptions. 2000-11-02 10:08:03 +00:00
ChangeLog-1999 Rotated ChangeLogs 2000-02-17 22:57:30 +00:00
chartables.pl * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
configure Makefile.in: Rebuilt. 2000-11-01 16:47:06 +00:00
configure.host Jumbo patch: 2000-05-19 17:55:34 +00:00
configure.in Makefile.in: Rebuilt. 2000-11-01 16:47:06 +00:00
COPYING All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
defineclass.cc From Arno J. Klaassen: 2000-10-20 23:25:57 +00:00
exception.cc exception.cc: Don't #include "exception". 2000-10-13 05:45:57 +01:00
gij.cc natSystem.cc (init_properties): Change sourceware reference to sources.redhat.com. 2000-08-21 06:05:20 +00:00
interpret.cc From Arno J. Klaassen: 2000-10-20 23:25:57 +00:00
jni.cc jni.cc: Added include of java/lang/ThreadGroup.h. 2000-11-01 00:18:03 +00:00
LIBGCJ_LICENSE All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
libgcj-test.spec.in configure: Rebuilt. 2000-03-04 21:50:19 +00:00
libgcj.spec.in Implement bitmap descriptor based marking for Boehm GC. 2000-09-30 10:56:58 +01:00
libgcjdata.c All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
libtool-version libtool-version: Catch up by incrementing current. 1999-10-15 06:07:41 +00:00
Makefile.am encodings.pl: Added `ASCII' alias. 2000-11-01 17:00:02 +00:00
Makefile.in encodings.pl: Added `ASCII' alias. 2000-11-01 17:00:02 +00:00
mauve-libgcj mauve-libgcj: Activated serialization tests. 2000-07-27 23:57:07 +00:00
name-finder.cc re GNATS libgcj/341 (Throwable.printStackTrace() isn't working) 2000-10-09 02:54:50 +01:00
NEWS Updated the NEWS 2000-02-15 09:35:51 +00:00
no-threads.cc All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
nogc.cc Implement bitmap descriptor based marking for Boehm GC. 2000-09-30 10:56:58 +01:00
posix-threads.cc posix-threads.cc (_Jv_CondWait): Check to see if we are interrupted before modifying the cv's wait set. 2000-09-30 11:01:04 +01:00
posix.cc Makefile.in: Rebuilt. 2000-08-02 21:54:04 +00:00
prims.cc natField.cc (BooleanClass): Don't define. 2000-10-06 01:49:32 +00:00
README Updated again. 2000-03-09 22:42:01 +00:00
resolve.cc natField.cc (BooleanClass): Don't define. 2000-10-06 01:49:32 +00:00
THANKS More thanks. 2000-08-14 03:02:50 +00:00
win32-threads.cc Makefile.in: New #defines and friends for Thread.h. 2000-03-28 03:22:24 +01:00

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://sourceware.cygnus.com/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://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?database=java