8209024: Use SuppressWarnings on serialVersionUID fields in interfaces

Reviewed-by: bpb, rriggs, mullan
This commit is contained in:
Joe Darcy 2018-08-06 14:29:22 -07:00
parent 080d3bb21a
commit 4bac00436d
20 changed files with 38 additions and 18 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -64,5 +64,6 @@ public interface PrivateKey extends Key, javax.security.auth.Destroyable {
* The class fingerprint that is set to indicate serialization
* compatibility with a previous version of the class.
*/
@SuppressWarnings("serial") // serialVersionUID in an interface is ineffectual
static final long serialVersionUID = 6034044314589513430L;
}