Another reflection bug; compatibility results

Stuart Ballard kaffe@rufus.w3.org
Fri, 16 Jun 2000 10:05:19 -0400


"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.