Serial warnings in java.util.ArrayPrefixHelpers

Joe Darcy joe.darcy at oracle.com
Wed Feb 19 18:25:12 UTC 2014


Hello,

The file java.util.ArrayPrefixHelpers seems to be part of the 166-alpha 
set of files in the JDK.

There are a number of package-private static final and serializable 
classes in this file which neither define serialVersionUIDs nor have a 
@SuppressWarnings("serial") annotation. So, this file adds a number of 
serial warnings to the JDK and efforts are underway to clear the jdk 
repo of serial warnings, which are mostly in the client area:

         JDK-8032976: Fix serial lint warnings in client libraries

Can the maintainers of ArrayPrefixHelpers "do the right thing" with 
respect to the serial warnings in this file? From a quick look at the 
file, it wasn't clear to me if SUIDs should be added or warnings suppressed.

Thanks,

-Joe



More information about the core-libs-dev mailing list