You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by "Zakharov, Vasily M" <va...@intel.com> on 2006/02/03 00:14:32 UTC

FYI: 100+ files do not fully comply with serialVersionUID spec

Hello, all,

There're some classes in API library that are Serializable and have
serialVersionUIDs, but those serialVersionUIDs are not marked private as
recommended by Serialization Specification. The full proper signature
for serialVersionUID is 'private static final long', unless the API
specification for the particular class specifies otherwise.

The files affected are in directories java/io, java/lang, java/math,
java/nio, java/nio/channels, java/nio/charset, java/security, java/text,
java/util/regex, java/util/zip.

Looks like the next step is either simply fix the files now or file a
100+ file bug reports. :)
I think the former is preferable.
 
With best regards,

Vasily Zakharov
Intel Middleware Products Division