[commit-cp] classpath ChangeLog java/io/DataInputStream.jav...

Ito Kazumitsu <[email protected]>
Newsgroups gmane.comp.java.classpath.cvs
Message-ID <[email protected]>
CVSROOT:	/cvsroot/classpath
Module name:	classpath
Changes by:	Ito Kazumitsu <itokaz>	08/01/29 22:30:44

Modified files:
	.              : ChangeLog 
	java/io        : DataInputStream.java DataOutputStream.java 
	                 ObjectInputStream.java ObjectOutputStream.java 

Log message:
	2008-01-29  Ito Kazumitsu  <[email protected]>
	
		Fixes bug #22941
		* java/io/DataInputStream.java(readUTFLong): New method.
		(readUTF): New private method.
		* java/io/DataOutputStream.java(getUTFlength): Made package-private,
		Return type changed to long.
		(writeUTF): Use the new method writeUTFShort.
		(writeUTFShort): New package-private method.
		(writeUTFLong): New package-private method.
		(writeUTFBytes): New private method.
		* java/io/ObjectInputStream.java(parseContent): Separate the
		handling of TC_LONGSTRING from TC_STRING.
		* java/io/ObjectOutputStream.java(writeObject): When to write a
		String, use writeUTFShort or writeUTFLong depending on the byte length.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9479&r2=1.9480
http://cvs.savannah.gnu.org/viewcvs/classpath/java/io/DataInputStream.java?cvsroot=classpath&r1=1.31&r2=1.32
http://cvs.savannah.gnu.org/viewcvs/classpath/java/io/DataOutputStream.java?cvsroot=classpath&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/classpath/java/io/ObjectInputStream.java?cvsroot=classpath&r1=1.83&r2=1.84
http://cvs.savannah.gnu.org/viewcvs/classpath/java/io/ObjectOutputStream.java?cvsroot=classpath&r1=1.72&r2=1.73
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.