More for PR libgcj/11737:
authorTom Tromey <tromey@redhat.com>
Fri, 1 Aug 2003 03:34:52 +0000 (03:34 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 1 Aug 2003 03:34:52 +0000 (03:34 +0000)
commite9c00e62d0aa1448248d377d82eb1b186152a061
tree2c95f8943b3e378b8ac84603e28841387ef9467d
parente14c33e5afb8977784f2fbf1c896e130c14282fb
More for PR libgcj/11737:

* java/io/ObjectInputStream.java (processResolution): Use
getMethod.
(getMethod): Make method accessible.
(getField): Make field accessible.
(setBooleanField): Don't call setAccessible here.
(setByteField, setCharField, setDoubleField, setFloatField,
setIntField, setLongField, setShortField, setObjectField):
Likewise.
(callReadMethod): Don't check whether method is null.  Catch
NoSuchMethodException.
* java/io/ObjectOutputStream.java (callWriteMethod): Initialize
cause on thrown exceptions.

From-SVN: r70038
libjava/ChangeLog
libjava/java/io/ObjectInputStream.java
libjava/java/io/ObjectOutputStream.java