diff options
author | Guilhem Lavaux <guilhem@kaffe.org> | 2003-12-31 11:04:21 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-12-31 11:04:21 +0000 |
commit | eb813adf1d3443148dabf8af4b359d8756ba500b (patch) | |
tree | 090301558a106672953dc317d4505fd4824724e0 /gcc | |
parent | d415865929d00608b5eeedd824ee679e673f18f3 (diff) | |
download | gcc-eb813adf1d3443148dabf8af4b359d8756ba500b.zip gcc-eb813adf1d3443148dabf8af4b359d8756ba500b.tar.gz gcc-eb813adf1d3443148dabf8af4b359d8756ba500b.tar.bz2 |
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.
From-SVN: r75265
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions