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:
committed by
Michael Koch
parent
1319e88eb1
commit
780071b5a6
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user