mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8209304: Deprecate serialVersionUID fields in interfaces
Reviewed-by: lancea, mullan, rriggs, smarks
This commit is contained in:
parent
4dfa58d553
commit
07ed14c5cf
20 changed files with 106 additions and 23 deletions
|
@ -63,7 +63,11 @@ 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
|
||||
*
|
||||
* @deprecated A {@code serialVersionUID} field in an interface is
|
||||
* ineffectual. Do not use; no replacement.
|
||||
*/
|
||||
@Deprecated
|
||||
@SuppressWarnings("serial")
|
||||
static final long serialVersionUID = 6034044314589513430L;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue