classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Object serialization patch


From: Jeroen Frijters
Subject: RE: Object serialization patch
Date: Wed, 25 Feb 2004 12:06:24 +0100

Guilhem Lavaux wrote:
> In that case I'm proposing this patch. I have replaced the 
> type checks in setXXXField by a type check in 
> ObjectStreamClass.setClass by invoking a new method 
> ObjectStreamField.checkFieldType. Here I'm only checking 
> that the field is really assignable with a value which would 
> have the type given in the serialPersistentFields list.
> 
> BTW, I've found that there was another error in fields 
> sorting in setClass() this is now replaced by the good one.

Thanks. Patch looks good to me.

Regards,
Jeroen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]