[commit-cp] classpath ChangeLog gnu/xml/stream/SAXParser.ja... [classpath-0_97-release-branch]

Andrew John Hughes <[email protected]> Mon, 02 Jun 2008 01:35:22 +0000
Newsgroups gmane.comp.java.classpath.cvs
Message-ID <[email protected]>
CVSROOT:	/sources/classpath
Module name:	classpath
Branch:		classpath-0_97-release-branch
Changes by:	Andrew John Hughes <gnu_andrew>	08/06/02 01:35:22

Modified files:
	.              : ChangeLog 
	gnu/xml/stream : SAXParser.java 
	java/util/concurrent: CopyOnWriteArrayList.java 
	javax/xml/namespace: QName.java 

Log message:
	Backport CopyOnWriteArrayList fixes.
	
	2008-03-27  Mario Torre  <[email protected]>
	
		* gnu/xml/stream/SAXParser.java (getProperty): throw
		SAXNotRecognizedException instead of SAXNotSupportedException
		after fall through all known properties.
		* javax/xml/namespace/QName.java (valueOf): throw
		IllegalArgumentException if string is null.
		* java/util/concurrent/CopyOnWriteArrayList.java (lastIndexOf):
		fixed indentation.
		(indexOf): likewise. 
	
	2008-03-26  Mario Torre  <[email protected]>
	
		* java/util/concurrent/CopyOnWriteArrayList.java (SubList.set): 
		(SubList.clear): new method.
		(SubList.checkMod): fix indentation.
		(SubList.checkBoundsInclusive):  likewise. 
		(SubList.checkBoundsExclusive): likewise.
		(SubList): added synchronization. Now throw
		IndexOutOfBoundsException instead of IllegalArgumentException
		when index are out of range.
		(SubList.size): added synchronization.
		(SubList.get): likewise.
		(SubList.listIterator): fixed indentation.
		(SubList.set): added synchronization. Update the state of the storage
		after modification.
		(SubList.add): likewise.
		(SubList.remove): likewise.
		(SubList.addAll): likewise.
	
	2008-03-26  Mario Torre  <[email protected]>
	
		* java/util/concurrent/CopyOnWriteArrayList.java (equals): removed
		useless local variable. 
		(hashCode): new method.
	
	2008-03-25  Mario Torre  <[email protected]>
	
		* java/util/concurrent/CopyOnWriteArrayList.java (clone): clone method
		in CopyOnWriteArrayList should just do a shallow copy. Fixed.
		(equals): new method, override from base class.
		(toString): likewise.
	
	2008-03-12  Andrew John Hughes  <[email protected]>
	
		* java/util/concurrent/CopyOnWriteArrayList.java:
		Don't extend AbstractList.
		(containsAll(Collection)): Implemented.
		(listIterator()): Likewise.
		(subList(int,int)): Likewise.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&only_with_tag=classpath-0_97-release-branch&r1=1.9526.2.12&r2=1.9526.2.13
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/xml/stream/SAXParser.java?cvsroot=classpath&only_with_tag=classpath-0_97-release-branch&r1=1.25&r2=1.25.2.1
http://cvs.savannah.gnu.org/viewcvs/classpath/java/util/concurrent/CopyOnWriteArrayList.java?cvsroot=classpath&only_with_tag=classpath-0_97-release-branch&r1=1.5&r2=1.5.2.1
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/xml/namespace/QName.java?cvsroot=classpath&only_with_tag=classpath-0_97-release-branch&r1=1.9&r2=1.9.16.1