mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8229997: Apply java.io.Serial annotations in java.base
Reviewed-by: alanb, rriggs
This commit is contained in:
parent
6d064a747e
commit
9d764ee48e
315 changed files with 880 additions and 254 deletions
|
@ -133,6 +133,7 @@ import java.io.Serializable;
|
|||
*/
|
||||
public abstract class Format implements Serializable, Cloneable {
|
||||
|
||||
@java.io.Serial
|
||||
private static final long serialVersionUID = -299282585814624189L;
|
||||
|
||||
/**
|
||||
|
@ -349,6 +350,7 @@ public abstract class Format implements Serializable, Cloneable {
|
|||
public static class Field extends AttributedCharacterIterator.Attribute {
|
||||
|
||||
// Proclaim serial compatibility with 1.4 FCS
|
||||
@java.io.Serial
|
||||
private static final long serialVersionUID = 276966692217360283L;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue