From 780071b5a626b11f6aafbf97f26e65f53596180a Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 18 Sep 2003 11:24:20 +0000 Subject: [PATCH] Reported by Guilhem Lavaux and Julian Dolby 2003-09-18 Mark Wielaard Reported by Guilhem Lavaux and Julian Dolby * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the field "serialPersistentFields", not "getSerialPersistentFields". From-SVN: r71515 --- libjava/ChangeLog | 6 ++++++ libjava/java/io/ObjectStreamClass.java | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index f023cfc9b31..cb041747540 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2003-09-18 Mark Wielaard + + Reported by Guilhem Lavaux and Julian Dolby + * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the + field "serialPersistentFields", not "getSerialPersistentFields". + 2003-09-18 Ingo Proetel * java/util/TimeZone.java: Initialize lazily. diff --git a/libjava/java/io/ObjectStreamClass.java b/libjava/java/io/ObjectStreamClass.java index ab233f166d0..12fb172f85b 100644 --- a/libjava/java/io/ObjectStreamClass.java +++ b/libjava/java/io/ObjectStreamClass.java @@ -621,7 +621,7 @@ public class ObjectStreamClass implements Serializable { // Use getDeclaredField rather than getField for the same reason // as above in getDefinedSUID. - Field f = clazz.getDeclaredField ("getSerialPersistentFields"); + Field f = clazz.getDeclaredField ("serialPersistentFields"); f.setAccessible(true); o = (ObjectStreamField[])f.get (null); } -- 2.30.2