harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magnusson, Geir" <geir.magnus...@intel.com>
Subject RE: FYI: 100+ files do not fully comply with serialVersionUID spec
Date Fri, 03 Feb 2006 01:52:10 GMT
We look forward to a patch. :)

 -----Original Message-----
From: 	Zakharov, Vasily M [mailto:vasily.m.zakharov@intel.com]
Sent:	Thu Feb 02 15:15:17 2006
To:	harmony-dev@incubator.apache.org
Subject:	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

Mime
View raw message