gcc/libjava ChangeLog java/lang/String.java ja ...

tromey@gcc.gnu.org tromey@gcc.gnu.org
Sun Mar 30 06:43:00 GMT 2003


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tromey@gcc.gnu.org	2003-03-30 06:43:45

Modified files:
	libjava        : ChangeLog 
	libjava/java/lang: String.java natString.cc 

Log message:
	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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.1825&r2=1.1826
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/String.java.diff?cvsroot=gcc&r1=1.20&r2=1.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/natString.cc.diff?cvsroot=gcc&r1=1.27&r2=1.28



More information about the Gcc-cvs mailing list