Serial warnings in java.util.ArrayPrefixHelpers

Chris Hegarty chris.hegarty at oracle.com
Thu Feb 20 12:42:21 UTC 2014


On 19 Feb 2014, at 23:44, Joseph Darcy <joe.darcy at oracle.com> wrote:

> On 2/19/2014 12:16 PM, Martin Buchholz wrote:
>> 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.
> 
> Thanks for the update Martin; looking forward to the next sync to get rid of a few more warnings :-)

http://hg.openjdk.java.net/jdk9/dev/jdk/rev/2f85b69d1d3f

-Chris.

> 
> -Joe
> 
>> 
>> 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 <mailto: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