gcc/libjava
Eric Blake 7270451f19 natString.cc (hashCode): Use cachedHashCode.
2003-03-29  Eric Blake  <ebb9@email.byu.edu>
	    Tom Tromey  <tromey@redhat.com>

	* java/lang/natString.cc (hashCode): Use cachedHashCode.
	(init()): Removed.
	(charAt): Put index in exception.
	(contentEquals): New method.
	Include StringBuffer.h.
	* java/lang/String.java (cachedHashCode): New field.
	(String()): Follow classpath implementation.
	(init()): Removed.
	(contentEquals): Declare.
	(subSequence): Don't declare IndexOutIfBoundsException in throws
	clause.
	(matches, replaceFirst, replaceAll, split): New methods from
	Classpath.

Co-Authored-By: Tom Tromey <tromey@redhat.com>

From-SVN: r65037
2003-03-30 06:43:45 +00:00
..
doc
gcj Makefile.in: Rebuilt. 2003-02-24 02:15:43 +00:00
gnu MessageFormat.java: Removed some whitespace. 2003-03-29 21:23:25 +00:00
include posix.h: Add suffix for darwin dynamic libraries. 2003-03-22 11:56:44 +01:00
java natString.cc (hashCode): Use cachedHashCode. 2003-03-30 06:43:45 +00:00
javax MessageFormat.java: Removed some whitespace. 2003-03-29 21:23:25 +00:00
jni XToolkit.java (getFontMetrics): initialize if necessary. 2003-02-19 00:35:35 +00:00
libltdl * .cvsignore: Remove files that are present in CVS. 2002-04-28 18:41:51 +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: Include ia64intrin.h. 2003-03-22 17:38:00 -08:00
testsuite jni.exp: Add compilation/link fix dor darwin dylibs. 2003-03-22 11:45:04 +01:00
COPYING
ChangeLog natString.cc (hashCode): Use cachedHashCode. 2003-03-30 06:43:45 +00:00
ChangeLog-1999
ChangeLog-2001
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 MessageFormat.java: Removed some whitespace. 2003-03-29 21:23:25 +00:00
Makefile.in MessageFormat.java: Removed some whitespace. 2003-03-29 21:23:25 +00:00
NEWS
README
THANKS THANKS: Fix punctuation, alphabetization. 2002-03-15 22:36:05 +00:00
acconfig.h natFileDescriptorPosix.cc (setLength): Handle case where ftruncate is missing. 2002-08-29 18:05:15 +00:00
acinclude.m4 aclocal.m4, [...]: Rebuilt. 2003-01-31 17:59:00 +00:00
aclocal.m4 aclocal.m4, [...]: Rebuilt. 2003-01-31 17:59:00 +00:00
addr2name.awk
boehm.cc boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class. 2003-01-03 16:34:37 +00:00
configure gcc/ ChangeLog: 2003-03-28 23:40:51 +00:00
configure.host configure.host (alpha*-*): Default to -mieee. 2003-02-13 02:51:26 +00:00
configure.in gcc/ ChangeLog: 2003-03-28 23:40:51 +00:00
defineclass.cc defineclass.cc (handleMethodsEnd): Precompute code for static method. 2003-01-24 19:58:21 +00:00
exception.cc exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit of catch_type. 2002-12-23 19:59:31 +00:00
gij.cc natRuntime.cc (_Jv_SetDLLSearchPath): New function. 2002-10-25 03:28:00 +00:00
glib.m4 Window.java (Window(Window,GraphicsConfiguration)): Don't try to find graphics configuration. 2003-01-31 17:54:14 +00:00
gtk.m4 Window.java (Window(Window,GraphicsConfiguration)): Don't try to find graphics configuration. 2003-01-31 17:54:14 +00:00
interpret.cc defineclass.cc (handleMethodsEnd): Precompute code for static method. 2003-01-24 19:58:21 +00:00
jni.cc jni.cc (_Jv_LookupJNIMethod): Modify to accept the size of the arguments for a JNI function. 2003-02-12 23:40:31 +00:00
libart.m4 Window.java (Window(Window,GraphicsConfiguration)): Don't try to find graphics configuration. 2003-01-31 17:54:14 +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 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 Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc. 2003-02-28 11:38:56 +00:00
no-threads.cc
nogc.cc nogc.cc: Remove warnings. 2002-01-27 22:33:35 +00:00
posix-threads.cc posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined. 2003-03-02 01:24:40 +00:00
posix.cc [multiple changes] 2003-03-10 19:45:30 +00:00
prims.cc [multiple changes] 2003-03-10 19:45:30 +00:00
resolve.cc resolve.cc (ncode): Use _Jv_platform_ffi_abi. 2003-03-17 00:45:37 +00:00
verify.cc verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end of bytecode. 2003-03-03 23:25:52 +00:00
win32-threads.cc re PR java/9254 (java::lang::Object::wait(), threads-win32.cc returns wrong return codes) 2003-01-28 22:23:36 +00:00
win32.cc [multiple changes] 2003-03-10 19:45:30 +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