Reported by Guilhem Lavaux and Julian Dolby

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
This commit is contained in:
Mark Wielaard 2003-09-18 11:24:20 +00:00 committed by Michael Koch
parent 1319e88eb1
commit 780071b5a6
2 changed files with 7 additions and 1 deletions

View 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.

View 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);
}