Serial warnings in java.util.ArrayPrefixHelpers

Martin Buchholz martinrb at google.com
Wed Feb 19 20:16:38 UTC 2014


The jsr166 CVS version of this file already has serialVersionUIDs added.
jsr166 CVS src/main has been jdk8/jdk9 warning-clean for a while now.

http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/ArrayPrefixHelpers.java?view=markup

yeah, we need to do a better job of down-streaming...


On Wed, Feb 19, 2014 at 10:25 AM, Joe Darcy <joe.darcy at oracle.com> wrote:

> 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