harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zakharov, Vasily M" <vasily.m.zakha...@intel.com>
Subject FYI: 100+ files do not fully comply with serialVersionUID spec
Date Thu, 02 Feb 2006 23:14:32 GMT
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

View raw message