8347121: Add missing @serial tags to module java.base

Reviewed-by: alanb
This commit is contained in:
Hannes Wallnöfer 2025-01-09 11:49:18 +00:00
parent 8c87ea2bdf
commit ceae2b977d
89 changed files with 301 additions and 222 deletions

View file

@ -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;