gcc/libjava ChangeLog java/io/ObjectOutputStre ...

mkoch@gcc.gnu.org mkoch@gcc.gnu.org
Wed Dec 31 11:04:00 GMT 2003


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	mkoch@gcc.gnu.org	2003-12-31 11:04:21

Modified files:
	libjava        : ChangeLog 
	libjava/java/io: ObjectOutputStream.java 

Log message:
	2003-12-31  Guilhem Lavaux  <guilhem@kaffe.org>
	
	* java/io/ObjectOutputStream.java
	(putFields): Reindented. Fixed behaviour: currentPutField should be
	null
	before calling this method.
	(writeFields): Likewise.
	(markFieldsWritten): Fixed the exception message.
	(callWriteMethod): Ensure currentPutField is null.
	(getBooleanField): Translate IllegalArgumentException into
	InvalidClassException.
	(getByteField): Likewise.
	(getCharField): Likewise.
	(getDoubleField): Likewise.
	(getFloatField): Likewise.
	(getIntField): Likewise.
	(getLongField): Likewise.
	(getShortField): Likewise.
	(getObjectField): Check the type code before returning the object.
	(getField): Translate NoSuchFieldException into InvalidClassException
	directly.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.2504&r2=1.2505
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/io/ObjectOutputStream.java.diff?cvsroot=gcc&r1=1.23&r2=1.24



More information about the Gcc-cvs mailing list