This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Object serialization patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]