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:
parent
1319e88eb1
commit
780071b5a6
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user