Another reflection bug; compatibility results

Stuart Ballard sballard at netreach.net
Fri Jun 16 07:05:19 PDT 2000


"Edouard G. Parmelan" wrote:
> 
> Could you add value of serialVersionUID in Japize ?
> 
> The following code will retreive/compute this value:
> 
>     ObjectStreamClass stream = ObjectStreamClass.lookup(clz);
>     if (stream != null) {
>         // this class is Serializable, register serialVersionUID
>         emitSerialVersionUID(stream.getSerialVersionUID());
>     }

Hey, great idea :) I'll try to get this done by tomorrow (my hacking
gets done on the train to and from work).

Stuart.


More information about the kaffe mailing list