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
2 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue