8281082: Improve javadoc references to JOSS
Reviewed-by: iris, rriggs, naoto, lancea
This commit is contained in:
parent
c74b8f48fa
commit
9ca7ff3e4f
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1996, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2022, 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
|
||||
@ -656,10 +656,11 @@ public class ObjectOutputStream
|
||||
* stream. Subclasses of ObjectOutputStream may override this method to
|
||||
* customize the way in which class descriptors are written to the
|
||||
* serialization stream. The corresponding method in ObjectInputStream,
|
||||
* {@code readClassDescriptor}, should then be overridden to
|
||||
* {@link ObjectInputStream#readClassDescriptor readClassDescriptor}, should then be overridden to
|
||||
* reconstitute the class descriptor from its custom stream representation.
|
||||
* By default, this method writes class descriptors according to the format
|
||||
* defined in the Object Serialization specification.
|
||||
* defined in the <a href="{@docRoot}/../specs/serialization/index.html">
|
||||
* <cite>Java Object Serialization Specification</cite></a>.
|
||||
*
|
||||
* <p>Note that this method will only be called if the ObjectOutputStream
|
||||
* is not using the old serialization stream format (set by calling
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2022, 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
|
||||
@ -30,7 +30,8 @@ import java.lang.annotation.*;
|
||||
/**
|
||||
* Indicates that an annotated field or method is part of the {@linkplain
|
||||
* Serializable serialization mechanism} defined by the
|
||||
* <cite>Java Object Serialization Specification</cite>. This
|
||||
* <a href="{@docRoot}/../specs/serialization/output.html">
|
||||
* <cite>Java Object Serialization Specification</cite></a>. This
|
||||
* annotation type is intended to allow compile-time checking of
|
||||
* serialization-related declarations, analogous to the checking
|
||||
* enabled by the {@link java.lang.Override} annotation type to
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2022, 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
|
||||
@ -51,8 +51,9 @@ import static java.util.Objects.requireNonNull;
|
||||
* by the serialization mechanism. The serialized representation used
|
||||
* for enum constants cannot be customized. Declarations of methods
|
||||
* and fields that would otherwise interact with serialization are
|
||||
* ignored, including {@code serialVersionUID}; see the <cite>Java
|
||||
* Object Serialization Specification</cite> for details.
|
||||
* ignored, including {@code serialVersionUID}; see the
|
||||
* <a href="{@docRoot}/../specs/serialization/index.html"><cite>Java
|
||||
* Object Serialization Specification</cite></a> for details.
|
||||
*
|
||||
* <p> Note that when using an enumeration type as the type of a set
|
||||
* or as the type of the keys in a map, specialized and efficient
|
||||
|
@ -230,7 +230,7 @@ public final class String
|
||||
*
|
||||
* A String instance is written into an ObjectOutputStream according to
|
||||
* <a href="{@docRoot}/../specs/serialization/protocol.html#stream-elements">
|
||||
* Object Serialization Specification, Section 6.2, "Stream Elements"</a>
|
||||
* <cite>Java Object Serialization Specification</cite>, Section 6.2, "Stream Elements"</a>
|
||||
*/
|
||||
@java.io.Serial
|
||||
private static final ObjectStreamField[] serialPersistentFields =
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2022, 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
|
||||
@ -84,7 +84,7 @@ package java.security;
|
||||
* which should not be exposed in untrusted environments. See the
|
||||
* <a href="{@docRoot}/../specs/serialization/security.html">
|
||||
* Security Appendix</a>
|
||||
* of the Serialization Specification for more information.
|
||||
* of the <cite>Java Object Serialization Specification</cite> for more information.
|
||||
*
|
||||
* @see PublicKey
|
||||
* @see PrivateKey
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2022, 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
|
||||
@ -44,7 +44,7 @@ import javax.crypto.spec.SecretKeySpec;
|
||||
* which should not be exposed in untrusted environments. See the
|
||||
* <a href="{@docRoot}/../specs/serialization/security.html">
|
||||
* Security Appendix</a>
|
||||
* of the Serialization Specification for more information.
|
||||
* of the <cite>Java Object Serialization Specification</cite> for more information.
|
||||
*
|
||||
* @see Key
|
||||
* @see KeyFactory
|
||||
|
Loading…
x
Reference in New Issue
Block a user