8281082: Improve javadoc references to JOSS

Reviewed-by: iris, rriggs, naoto, lancea
This commit is contained in:
Joe Darcy 2022-02-01 22:30:08 +00:00
parent c74b8f48fa
commit 9ca7ff3e4f
6 changed files with 16 additions and 13 deletions

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * 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 * stream. Subclasses of ObjectOutputStream may override this method to
* customize the way in which class descriptors are written to the * customize the way in which class descriptors are written to the
* serialization stream. The corresponding method in ObjectInputStream, * 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. * reconstitute the class descriptor from its custom stream representation.
* By default, this method writes class descriptors according to the format * 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 * <p>Note that this method will only be called if the ObjectOutputStream
* is not using the old serialization stream format (set by calling * is not using the old serialization stream format (set by calling

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * 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 * Indicates that an annotated field or method is part of the {@linkplain
* Serializable serialization mechanism} defined by the * 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 * annotation type is intended to allow compile-time checking of
* serialization-related declarations, analogous to the checking * serialization-related declarations, analogous to the checking
* enabled by the {@link java.lang.Override} annotation type to * enabled by the {@link java.lang.Override} annotation type to

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * 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 * by the serialization mechanism. The serialized representation used
* for enum constants cannot be customized. Declarations of methods * for enum constants cannot be customized. Declarations of methods
* and fields that would otherwise interact with serialization are * and fields that would otherwise interact with serialization are
* ignored, including {@code serialVersionUID}; see the <cite>Java * ignored, including {@code serialVersionUID}; see the
* Object Serialization Specification</cite> for details. * <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 * <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 * or as the type of the keys in a map, specialized and efficient

View File

@ -230,7 +230,7 @@ public final class String
* *
* A String instance is written into an ObjectOutputStream according to * A String instance is written into an ObjectOutputStream according to
* <a href="{@docRoot}/../specs/serialization/protocol.html#stream-elements"> * <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 @java.io.Serial
private static final ObjectStreamField[] serialPersistentFields = private static final ObjectStreamField[] serialPersistentFields =

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * 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 * which should not be exposed in untrusted environments. See the
* <a href="{@docRoot}/../specs/serialization/security.html"> * <a href="{@docRoot}/../specs/serialization/security.html">
* Security Appendix</a> * Security Appendix</a>
* of the Serialization Specification for more information. * of the <cite>Java Object Serialization Specification</cite> for more information.
* *
* @see PublicKey * @see PublicKey
* @see PrivateKey * @see PrivateKey

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * 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 * which should not be exposed in untrusted environments. See the
* <a href="{@docRoot}/../specs/serialization/security.html"> * <a href="{@docRoot}/../specs/serialization/security.html">
* Security Appendix</a> * Security Appendix</a>
* of the Serialization Specification for more information. * of the <cite>Java Object Serialization Specification</cite> for more information.
* *
* @see Key * @see Key
* @see KeyFactory * @see KeyFactory