2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Dec 2003 11:04:21 +0000 (11:04 +0000)
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Dec 2003 11:04:21 +0000 (11:04 +0000)
commitaa9a1e51dfe3c217d861f0795af77c53a43ecefb
tree090301558a106672953dc317d4505fd4824724e0
parent89b9720ba35fc9bbb4e10c0bb3938b8ad00de1c3
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75265 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/java/io/ObjectOutputStream.java