8305206: Add @spec tags in java.base/java.* (part 1)

Reviewed-by: alanb, naoto, darcy, lancea, dfuchs, iris, mchung
This commit is contained in:
Jonathan Gibbons 2023-04-04 00:09:38 +00:00
parent ccbb0e8d89
commit c6bd489cc8
60 changed files with 268 additions and 2 deletions

View file

@ -55,6 +55,7 @@ import sun.util.logging.PlatformLogger;
* <p>This map and its views have a predictable iteration order, namely the
* order that keys were inserted into the map, as with {@link LinkedHashMap}.
*
* @spec jar/jar.html JAR File Specification
* @author David Connelly
* @see Manifest
* @since 1.2
@ -446,6 +447,8 @@ public class Attributes implements Map<Object,Object>, Cloneable {
* and will be UTF8-encoded when written to the output stream. See the
* <a href="{@docRoot}/../specs/jar/jar.html">JAR File Specification</a>
* for more information about valid attribute names and values.
*
* @spec jar/jar.html JAR File Specification
*/
public static class Name {
private final String name;

View file

@ -44,6 +44,7 @@ import sun.security.util.SecurityProperties;
* <a href="{@docRoot}/../specs/jar/jar.html">
* Manifest format specification</a>.
*
* @spec jar/jar.html JAR File Specification
* @author David Connelly
* @see Attributes
* @since 1.2

View file

@ -44,6 +44,7 @@
* Manifest and Signature Specification</a> - The manifest format specification.
* </ul>
*
* @spec jar/jar.html JAR File Specification
* @since 1.2
*/
package java.util.jar;