From 45a9219c59beb9f6245dc3357815ba554861154b Mon Sep 17 00:00:00 2001 From: mkoch Date: Thu, 18 Sep 2003 11:24:20 +0000 Subject: [PATCH] 2003-09-18 Mark Wielaard Reported by Guilhem Lavaux and Julian Dolby * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the field "serialPersistentFields", not "getSerialPersistentFields". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71515 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 f023cfc..cb04174 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 ab233f1..12fb172 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.7.4