mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -184,6 +184,7 @@ import java.util.concurrent.atomic.AtomicLong;
|
|||
*/
|
||||
public final class CompactNumberFormat extends NumberFormat {
|
||||
|
||||
@java.io.Serial
|
||||
private static final long serialVersionUID = 7128367218649234678L;
|
||||
|
||||
/**
|
||||
|
@ -1784,6 +1785,7 @@ public final class CompactNumberFormat extends NumberFormat {
|
|||
* @throws ClassNotFoundException if the class of a serialized object
|
||||
* could not be found
|
||||
*/
|
||||
@java.io.Serial
|
||||
private void readObject(ObjectInputStream inStream) throws IOException,
|
||||
ClassNotFoundException {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue