mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8347121: Add missing @serial tags to module java.base
Reviewed-by: alanb
This commit is contained in:
parent
8c87ea2bdf
commit
ceae2b977d
89 changed files with 301 additions and 222 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2025, 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
|
||||
|
@ -65,43 +65,43 @@ public final class SerializedLambda implements Serializable {
|
|||
@java.io.Serial
|
||||
private static final long serialVersionUID = 8025925345765570181L;
|
||||
/**
|
||||
* The capturing class.
|
||||
* @serial The capturing class.
|
||||
*/
|
||||
private final Class<?> capturingClass;
|
||||
/**
|
||||
* The functional interface class.
|
||||
* @serial The functional interface class.
|
||||
*/
|
||||
private final String functionalInterfaceClass;
|
||||
/**
|
||||
* The functional interface method name.
|
||||
* @serial The functional interface method name.
|
||||
*/
|
||||
private final String functionalInterfaceMethodName;
|
||||
/**
|
||||
* The functional interface method signature.
|
||||
* @serial The functional interface method signature.
|
||||
*/
|
||||
private final String functionalInterfaceMethodSignature;
|
||||
/**
|
||||
* The implementation class.
|
||||
* @serial The implementation class.
|
||||
*/
|
||||
private final String implClass;
|
||||
/**
|
||||
* The implementation method name.
|
||||
* @serial The implementation method name.
|
||||
*/
|
||||
private final String implMethodName;
|
||||
/**
|
||||
* The implementation method signature.
|
||||
* @serial The implementation method signature.
|
||||
*/
|
||||
private final String implMethodSignature;
|
||||
/**
|
||||
* The implementation method kind.
|
||||
* @serial The implementation method kind.
|
||||
*/
|
||||
private final int implMethodKind;
|
||||
/**
|
||||
* The instantiated method type.
|
||||
* @serial The instantiated method type.
|
||||
*/
|
||||
private final String instantiatedMethodType;
|
||||
/**
|
||||
* The captured arguments.
|
||||
* @serial The captured arguments.
|
||||
*/
|
||||
@SuppressWarnings("serial") // Not statically typed as Serializable
|
||||
private final Object[] capturedArgs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue