Re: Object serialization and final fields

2004-04-06 Thread Guilhem Lavaux
Mark Wielaard wrote: Hi Guilhem, On Fri, 2004-04-02 at 21:52, Guilhem Lavaux wrote: Here is the real patch for object serialization. I've added new static methods to VMObjectStreamClass and changed the methods called in ObjectStreamField accordingly. Note that we need to check all exceptions

Re: Object serialization and final fields

2004-04-04 Thread Mark Wielaard
Hi Guilhem, On Fri, 2004-04-02 at 21:52, Guilhem Lavaux wrote: Here is the real patch for object serialization. I've added new static methods to VMObjectStreamClass and changed the methods called in ObjectStreamField accordingly. Note that we need to check all exceptions now as the native

Re: Object serialization and final fields

2004-04-04 Thread Mark Wielaard
Hi, On Sun, 2004-04-04 at 20:01, Mark Wielaard wrote: This looks very nice. Thanks. Some nitpicks: [...] Last nitpick. I promise! - Do you have a test case that can be added to Mauve? Thanks, Mark signature.asc Description: This is a digitally signed message part

RE: Object serialization and final fields

2004-04-04 Thread David Holmes
Mark Wielaard wrote: BTW. Note to VM/Compiler implementers! -- We discussed final fields a bit more on irc. We came to the conclusion the the VM spec authors and the JLS spec authors have a different interpretation of final. According to the VM spec a

Re: Object serialization and final fields

2004-04-02 Thread Guilhem Lavaux
Hi, Here is the real patch for object serialization. I've added new static methods to VMObjectStreamClass and changed the methods called in ObjectStreamField accordingly. Note that we need to check all exceptions now as the native functions may fail for some other obscure reasons. ChangeLog

Re: Object serialization and final fields

2004-03-29 Thread Guilhem Lavaux
Mark Wielaard wrote: Hi, Hi Mark ! On Thu, 2004-03-25 at 21:19, Guilhem Lavaux wrote: Some people has reported failures in kaffe with applications trying to deserialize objects containing final fields. Apparently it is authorized in the serialization spec but we cannot rely on

Re: Object serialization and final fields

2004-03-28 Thread Mark Wielaard
Hi, On Thu, 2004-03-25 at 21:19, Guilhem Lavaux wrote: Some people has reported failures in kaffe with applications trying to deserialize objects containing final fields. Apparently it is authorized in the serialization spec but we cannot rely on java.lang.reflect.Field to set them. So