]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Reported by Guilhem Lavaux and Julian Dolby
authorMark Wielaard <mark@klomp.org>
Thu, 18 Sep 2003 11:24:20 +0000 (11:24 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Thu, 18 Sep 2003 11:24:20 +0000 (11:24 +0000)
2003-09-18  Mark Wielaard  <mark@klomp.org>

Reported by Guilhem Lavaux and Julian Dolby
* java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
field "serialPersistentFields", not "getSerialPersistentFields".

From-SVN: r71515

libjava/ChangeLog
libjava/java/io/ObjectStreamClass.java

index f023cfc9b310c7b4c57f9fc964fbd9ea21ba71f5..cb041747540ccd3bcf677d794650657124489cdd 100644 (file)
@@ -1,3 +1,9 @@
+2003-09-18  Mark Wielaard  <mark@klomp.org>
+
+       Reported by Guilhem Lavaux and Julian Dolby
+       * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
+       field "serialPersistentFields", not "getSerialPersistentFields".
+
 2003-09-18  Ingo Proetel  <proetel@aicas.com>
 
        * java/util/TimeZone.java: Initialize lazily.
index ab233f166d0fb85275bde4915973d7541547af16..12fb172f85b1255c25a9d2d1910811075c4d7f2e 100644 (file)
@@ -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);
       }