| char | | C
+ *
+ * Element types and encodings
+ *
+ * | Element Type | Encoding
+ * |
+ *
+ * | boolean | Z
+ * | | byte | B
+ * | | char | C
* | | class or interface
- * | | Lclassname;
- * | | double | | D
- * | | float | | F
- * | | int | | I
- * | | long | | J
- * | | short | | S
+ * | Lclassname;
+ * | | double | D
+ * | | float | F
+ * | | int | I
+ * | | long | J
+ * | | short | S
+ * |
*
*
* The class or interface name classname is the binary name of
diff --git a/jdk/src/java.base/share/classes/java/lang/Double.java b/jdk/src/java.base/share/classes/java/lang/Double.java
index 75a227e5282..a7aa0a0f626 100644
--- a/jdk/src/java.base/share/classes/java/lang/Double.java
+++ b/jdk/src/java.base/share/classes/java/lang/Double.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1994, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1994, 2017, 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
@@ -255,9 +255,12 @@ public final class Double extends Number implements Comparable {
*
*
*
- *
+ *
* Examples
+ *
* | Floating-point Value | Hexadecimal String |
+ *
+ *
* | {@code 1.0} | {@code 0x1.0p0} |
* | {@code -1.0} | {@code -0x1.0p0} |
* | {@code 2.0} | {@code 0x1.0p1} |
@@ -272,6 +275,7 @@ public final class Double extends Number implements Comparable {
* {@code 0x0.fffffffffffffp-1022} |
* | {@code Double.MIN_VALUE} |
* {@code 0x0.0000000000001p-1022} |
+ *
*
* @param d the {@code double} to be converted.
* @return a hex string representation of the argument.
diff --git a/jdk/src/java.base/share/classes/java/lang/Float.java b/jdk/src/java.base/share/classes/java/lang/Float.java
index 60e08db7ad5..77c1d1671d5 100644
--- a/jdk/src/java.base/share/classes/java/lang/Float.java
+++ b/jdk/src/java.base/share/classes/java/lang/Float.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1994, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1994, 2017, 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
@@ -256,9 +256,12 @@ public final class Float extends Number implements Comparable {
*
*
*
- *
+ *
* Examples
+ *
* | Floating-point Value | Hexadecimal String |
+ *
+ *
* | {@code 1.0} | {@code 0x1.0p0} |
* | {@code -1.0} | {@code -0x1.0p0} |
* | {@code 2.0} | {@code 0x1.0p1} |
@@ -273,6 +276,7 @@ public final class Float extends Number implements Comparable {
* {@code 0x0.fffffep-126} |
* | {@code Float.MIN_VALUE} |
* {@code 0x0.000002p-126} |
+ *
*
* @param f the {@code float} to be converted.
* @return a hex string representation of the argument.
diff --git a/jdk/src/java.base/share/classes/java/lang/RuntimePermission.java b/jdk/src/java.base/share/classes/java/lang/RuntimePermission.java
index 489bcf64375..b1a4280498a 100644
--- a/jdk/src/java.base/share/classes/java/lang/RuntimePermission.java
+++ b/jdk/src/java.base/share/classes/java/lang/RuntimePermission.java
@@ -43,13 +43,17 @@ import java.lang.module.ModuleFinder;
* target names, and for each provides a description of what the permission
* allows and a discussion of the risks of granting code the permission.
*
- *
+ *
+ * permission target name,
+ * what the target allows, and associated risks
+ *
*
* | Permission Target Name |
* What the Permission Allows |
* Risks of Allowing this Permission |
*
+ *
+ *
*
*
* | createClassLoader |
@@ -383,6 +387,7 @@ import java.lang.module.ModuleFinder;
* {@linkplain ModuleFinder#ofSystem system modules} in the runtime image.
*
*
+ *
*
*
* @implNote
diff --git a/jdk/src/java.base/share/classes/java/lang/String.java b/jdk/src/java.base/share/classes/java/lang/String.java
index 1bd125dae54..ea94633597c 100644
--- a/jdk/src/java.base/share/classes/java/lang/String.java
+++ b/jdk/src/java.base/share/classes/java/lang/String.java
@@ -335,7 +335,7 @@ public final class String
* subarray.
*
* Each {@code byte} in the subarray is converted to a {@code char} as
- * specified in the method above.
+ * specified in the {@link #String(byte[],int) String(byte[],int)} constructor.
*
* @deprecated This method does not properly convert bytes into characters.
* As of JDK 1.1, the preferred way to do this is via the
@@ -390,7 +390,7 @@ public final class String
/**
* Allocates a new {@code String} containing characters constructed from
- * an array of 8-bit integer values. Each character cin the
+ * an array of 8-bit integer values. Each character c in the
* resulting string is constructed from the corresponding component
* b in the byte array such that:
*
@@ -2203,12 +2203,16 @@ public final class String
* The string {@code "boo:and:foo"}, for example, yields the
* following results with these parameters:
*
- *
+ *
+ * Split example showing regex, limit, and result
+ *
*
* | Regex |
* Limit |
* Result |
*
+ *
+ *
* | : |
* 2 |
* {@code { "boo", "and:foo" }} |
@@ -2227,6 +2231,7 @@ public final class String
* | o |
* 0 |
* {@code { "b", "", ":and:f" }} |
+ *
*
*
* An invocation of this method of the form
@@ -2326,15 +2331,20 @@ public final class String
* The string {@code "boo:and:foo"}, for example, yields the following
* results with these expressions:
*
- *
+ *
+ * Split examples showing regex and result
+ *
*
* | Regex |
* Result |
*
+ *
+ *
* | : |
* {@code { "boo", "and", "foo" }} |
* | o |
* {@code { "b", "", ":and:f" }} |
+ *
*
*
*
@@ -2445,13 +2455,17 @@ public final class String
* {@code String} may be a different length than the original {@code String}.
*
* Examples of lowercase mappings are in the following table:
- *
+ *
+ * Lowercase mapping examples showing language code of locale, upper case, lower case, and description
+ *
*
* | Language Code of Locale |
* Upper Case |
* Lower Case |
* Description |
*
+ *
+ *
*
* | tr (Turkish) |
* \u0130 |
@@ -2480,6 +2494,7 @@ public final class String
*
* lowercased all chars in String |
*
+ *
*
*
* @param locale use the case transformation rules for this locale
@@ -2526,13 +2541,17 @@ public final class String
*
* Examples of locale-sensitive and 1:M case mappings are in the following table.
*
- *
+ *
+ * Examples of locale-sensitive and 1:M case mappings. Shows Language code of locale, lower case, upper case, and description.
+ *
*
* | Language Code of Locale |
* Lower Case |
* Upper Case |
* Description |
*
+ *
+ *
*
* | tr (Turkish) |
* \u0069 |
@@ -2557,6 +2576,7 @@ public final class String
* FAHRVERGNÜGEN |
* |
*
+ *
*
* @param locale use the case transformation rules for this locale
* @return the {@code String}, converted to uppercase.
diff --git a/jdk/src/java.base/share/classes/java/lang/System.java b/jdk/src/java.base/share/classes/java/lang/System.java
index 630380e2d4b..10664819e4f 100644
--- a/jdk/src/java.base/share/classes/java/lang/System.java
+++ b/jdk/src/java.base/share/classes/java/lang/System.java
@@ -575,9 +575,13 @@ public final class System {
* system properties, a set of system properties is first created and
* initialized. This set of system properties always includes values
* for the following keys:
- *
+ *
+ * Shows property keys and associated values
+ *
* | Key |
* Description of Associated Value |
+ *
+ *
* java.version |
* Java Runtime Environment version which may be interpreted
* as a {@link Runtime.Version} |
@@ -636,6 +640,7 @@ public final class System {
* User's home directory |
* user.dir |
* User's current working directory |
+ *
*
*
* Multiple paths in a system property value are separated by the path
@@ -647,9 +652,13 @@ public final class System {
*
* @implNote In addition to the standard system properties, the system
* properties may include the following keys:
- *
+ *
+ * Shows property keys and associated values
+ *
* | Key |
* Description of Associated Value |
+ *
+ *
* | {@code jdk.module.path} |
* The application module path |
* | {@code jdk.module.upgrade.path} |
@@ -658,6 +667,7 @@ public final class System {
* The module name of the initial/main module |
* | {@code jdk.module.main.class} |
* The main class name of the initial module |
+ *
*
*
* @return the system properties
diff --git a/jdk/src/java.base/share/classes/java/lang/invoke/LambdaMetafactory.java b/jdk/src/java.base/share/classes/java/lang/invoke/LambdaMetafactory.java
index b09744cba7d..95719763b0f 100644
--- a/jdk/src/java.base/share/classes/java/lang/invoke/LambdaMetafactory.java
+++ b/jdk/src/java.base/share/classes/java/lang/invoke/LambdaMetafactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2017, 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
@@ -149,8 +149,12 @@ import java.util.Arrays;
* capture argument (corresponding to the receiver) must be non-null.
*
* A type Q is considered adaptable to S as follows:
- *
+ *
+ * adaptable types
+ *
* | Q | S | Link-time checks | Invocation-time checks |
+ *
+ *
*
* | Primitive | Primitive |
* Q can be converted to S via a primitive widening conversion |
@@ -176,6 +180,7 @@ import java.util.Arrays;
* for return types: none
* Cast from Q to S |
*
+ *
*
*
* @apiNote These linkage methods are designed to support the evaluation
@@ -213,7 +218,9 @@ import java.util.Arrays;
* methods.
* @since 1.8
*/
-public class LambdaMetafactory {
+public final class LambdaMetafactory {
+
+ private LambdaMetafactory() {}
/** Flag for alternate metafactories indicating the lambda object
* must be serializable */
diff --git a/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandleInfo.java b/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandleInfo.java
index a53e0076756..909f271c672 100644
--- a/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandleInfo.java
+++ b/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandleInfo.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2017, 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
@@ -81,8 +81,12 @@ import static java.lang.invoke.MethodHandleStatics.*;
* The Lookup Factory Methods
* correspond to all major use cases for methods, constructors, and fields.
* These use cases may be distinguished using small integers as follows:
- *
+ *
+ * reference kinds
+ *
* | reference kind | descriptive name | scope | member | behavior |
+ *
+ *
*
* | {@code 1} | {@code REF_getField} | {@code class} |
* {@code FT f;} | {@code (T) this.f;} |
@@ -119,6 +123,7 @@ import static java.lang.invoke.MethodHandleStatics.*;
* {@code 9} | {@code REF_invokeInterface} | {@code interface} |
* {@code T m(A*);} | {@code (T) this.m(arg*);} |
*
+ *
*
* @since 1.8
*/
diff --git a/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandles.java b/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandles.java
index ae40f169ff2..292fd9bb6c4 100644
--- a/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandles.java
+++ b/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandles.java
@@ -278,12 +278,16 @@ public class MethodHandles {
* (Bytecode behaviors are described in section 5.4.3.5 of the Java Virtual Machine Specification.)
* Here is a summary of the correspondence between these factory methods and
* the behavior of the resulting method handles:
- *
+ *
+ * lookup method behaviors
+ *
*
* | lookup expression |
* member |
* bytecode behavior |
*
+ *
+ *
*
* | {@link java.lang.invoke.MethodHandles.Lookup#findGetter lookup.findGetter(C.class,"f",FT.class)} |
* {@code FT f;} | {@code (T) this.f;} |
@@ -340,6 +344,7 @@ public class MethodHandles {
* {@link java.lang.invoke.MethodHandles.Lookup#findClass lookup.findClass("C")} |
* {@code class C { ... }} | {@code C.class;} |
*
+ *
*
*
* Here, the type {@code C} is the class or interface being searched for a member,
diff --git a/jdk/src/java.base/share/classes/java/lang/reflect/AnnotatedElement.java b/jdk/src/java.base/share/classes/java/lang/reflect/AnnotatedElement.java
index 3bc54c2856a..fd15669931b 100644
--- a/jdk/src/java.base/share/classes/java/lang/reflect/AnnotatedElement.java
+++ b/jdk/src/java.base/share/classes/java/lang/reflect/AnnotatedElement.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2017, 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
@@ -105,10 +105,13 @@ import sun.reflect.annotation.AnnotationType;
* The table below summarizes which kind of annotation presence
* different methods in this interface examine.
*
- *
+ *
* Overview of kind of presence detected by different AnnotatedElement methods
+ *
* | Kind of Presence |
*
|---|
| Method | Directly Present | Indirectly Present | Present | Associated |
+ *
+ *
* | {@code T} | {@link #getAnnotation(Class) getAnnotation(Class<T>)}
* | | | X | |
*
@@ -127,6 +130,7 @@ import sun.reflect.annotation.AnnotationType;
* | {@code T[]} | {@link #getDeclaredAnnotationsByType(Class) getDeclaredAnnotationsByType(Class<T>)}
* | X | X | | |
*
+ *
*
*
* For an invocation of {@code get[Declared]AnnotationsByType( Class <
diff --git a/jdk/src/java.base/share/classes/java/lang/reflect/ReflectPermission.java b/jdk/src/java.base/share/classes/java/lang/reflect/ReflectPermission.java
index df6178358df..8b34ae3b4f2 100644
--- a/jdk/src/java.base/share/classes/java/lang/reflect/ReflectPermission.java
+++ b/jdk/src/java.base/share/classes/java/lang/reflect/ReflectPermission.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -32,12 +32,16 @@ package java.lang.reflect;
* provides a summary description of what the permission allows,
* and discusses the risks of granting code the permission.
*
- *
+ *
+ * Table shows permission target name, what the permission allows, and associated risks
+ *
*
* | Permission Target Name |
* What the Permission Allows |
* Risks of Allowing this Permission |
*
+ *
+ *
*
*
* | suppressAccessChecks |
@@ -58,6 +62,7 @@ package java.lang.reflect;
* help in its attempt to compromise security in the system.
*
*
+ *
*
*
* @see java.security.Permission
diff --git a/jdk/src/java.base/share/classes/java/math/BigDecimal.java b/jdk/src/java.base/share/classes/java/math/BigDecimal.java
index 5feb70fec43..f0b40ffed96 100644
--- a/jdk/src/java.base/share/classes/java/math/BigDecimal.java
+++ b/jdk/src/java.base/share/classes/java/math/BigDecimal.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2017, 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
@@ -120,15 +120,19 @@ import java.util.Arrays;
* preferred scale for representing a result. The preferred
* scale for each operation is listed in the table below.
*
- *
+ *
* Preferred Scales for Results of Arithmetic Operations
*
+ *
* | Operation | Preferred Scale of Result |
+ *
+ *
* | Add | max(addend.scale(), augend.scale()) |
* | Subtract | max(minuend.scale(), subtrahend.scale()) |
* | Multiply | multiplier.scale() + multiplicand.scale() |
* | Divide | dividend.scale() - divisor.scale() |
* | Square root | radicand.scale()/2 |
+ *
*
*
* These scales are the ones used by the methods which return exact
diff --git a/jdk/src/java.base/share/classes/java/math/RoundingMode.java b/jdk/src/java.base/share/classes/java/math/RoundingMode.java
index 042d4f5f177..79ecce36e7f 100644
--- a/jdk/src/java.base/share/classes/java/math/RoundingMode.java
+++ b/jdk/src/java.base/share/classes/java/math/RoundingMode.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2017, 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 @@ package java.math;
* proper {@code MathContext}. A summary table showing the results
* of these rounding operations for all rounding modes appears below.
*
- *
+ *
* Summary of Rounding Operations Under Different Rounding Modes
+ *
* | Result of rounding input to one digit with the given
* rounding mode |
*
|---|
@@ -64,6 +65,8 @@ package java.math;
* | {@code HALF_DOWN} |
* {@code HALF_EVEN} |
* {@code UNNECESSARY} |
+ *
+ *
*
* | 5.5 | 6 | 5 | 6 | 5 | 6 | 5 | 6 | throw {@code ArithmeticException} |
* | 2.5 | 3 | 2 | 3 | 2 | 3 | 2 | 2 | throw {@code ArithmeticException} |
@@ -75,7 +78,8 @@ package java.math;
* | -1.6 | -2 | -1 | -1 | -2 | -2 | -2 | -2 | throw {@code ArithmeticException} |
* | -2.5 | -3 | -2 | -2 | -3 | -3 | -2 | -2 | throw {@code ArithmeticException} |
* | -5.5 | -6 | -5 | -5 | -6 | -6 | -5 | -6 | throw {@code ArithmeticException} |
- *
+ *
+ *
*
*
* This {@code enum} is intended to replace the integer-based
@@ -100,10 +104,13 @@ public enum RoundingMode {
* value.
*
* Example:
- *
+ *
* Rounding mode UP Examples
+ *
*| Input Number |
* Input rounded to one digit with {@code UP} rounding
+ * |
+ *
*| 5.5 | 6 |
* | 2.5 | 3 |
* | 1.6 | 2 |
@@ -114,6 +121,7 @@ public enum RoundingMode {
* | -1.6 | -2 |
* | -2.5 | -3 |
* | -5.5 | -6 |
+ *
*
*/
UP(BigDecimal.ROUND_UP),
@@ -124,10 +132,13 @@ public enum RoundingMode {
* rounding mode never increases the magnitude of the calculated value.
*
*Example:
- *
+ *
* Rounding mode DOWN Examples
+ *
*| Input Number |
* Input rounded to one digit with {@code DOWN} rounding
+ * |
+ *
*| 5.5 | 5 |
* | 2.5 | 2 |
* | 1.6 | 1 |
@@ -138,6 +149,7 @@ public enum RoundingMode {
* | -1.6 | -1 |
* | -2.5 | -2 |
* | -5.5 | -5 |
+ *
*
*/
DOWN(BigDecimal.ROUND_DOWN),
@@ -149,10 +161,13 @@ public enum RoundingMode {
* that this rounding mode never decreases the calculated value.
*
*Example:
- *
+ *
* Rounding mode CEILING Examples
+ *
*| Input Number |
* Input rounded to one digit with {@code CEILING} rounding
+ * |
+ *
*| 5.5 | 6 |
* | 2.5 | 3 |
* | 1.6 | 2 |
@@ -163,6 +178,7 @@ public enum RoundingMode {
* | -1.6 | -1 |
* | -2.5 | -2 |
* | -5.5 | -5 |
+ *
*
*/
CEILING(BigDecimal.ROUND_CEILING),
@@ -174,10 +190,13 @@ public enum RoundingMode {
* this rounding mode never increases the calculated value.
*
*Example:
- *
+ *
* Rounding mode FLOOR Examples
+ *
*| Input Number |
* Input rounded to one digit with {@code FLOOR} rounding
+ * |
+ *
*| 5.5 | 5 |
* | 2.5 | 2 |
* | 1.6 | 1 |
@@ -188,6 +207,7 @@ public enum RoundingMode {
* | -1.6 | -2 |
* | -2.5 | -3 |
* | -5.5 | -6 |
+ *
*
*/
FLOOR(BigDecimal.ROUND_FLOOR),
@@ -201,10 +221,13 @@ public enum RoundingMode {
* mode commonly taught at school.
*
*Example:
- *
+ *
* Rounding mode HALF_UP Examples
+ *
*| Input Number |
* Input rounded to one digit with {@code HALF_UP} rounding
+ * |
+ *
*| 5.5 | 6 |
* | 2.5 | 3 |
* | 1.6 | 2 |
@@ -215,6 +238,7 @@ public enum RoundingMode {
* | -1.6 | -2 |
* | -2.5 | -3 |
* | -5.5 | -6 |
+ *
*
*/
HALF_UP(BigDecimal.ROUND_HALF_UP),
@@ -227,10 +251,13 @@ public enum RoundingMode {
* {@code RoundingMode.DOWN}.
*
*Example:
- *
+ *
* Rounding mode HALF_DOWN Examples
+ *
*| Input Number |
* Input rounded to one digit with {@code HALF_DOWN} rounding
+ * |
+ *
*| 5.5 | 5 |
* | 2.5 | 2 |
* | 1.6 | 2 |
@@ -241,6 +268,7 @@ public enum RoundingMode {
* | -1.6 | -2 |
* | -2.5 | -2 |
* | -5.5 | -5 |
+ *
*
*/
HALF_DOWN(BigDecimal.ROUND_HALF_DOWN),
@@ -260,10 +288,13 @@ public enum RoundingMode {
* arithmetic in Java.
*
*Example:
- *
+ *
* Rounding mode HALF_EVEN Examples
+ *
*| Input Number |
* Input rounded to one digit with {@code HALF_EVEN} rounding
+ * |
+ *
*| 5.5 | 6 |
* | 2.5 | 2 |
* | 1.6 | 2 |
@@ -274,6 +305,7 @@ public enum RoundingMode {
* | -1.6 | -2 |
* | -2.5 | -2 |
* | -5.5 | -6 |
+ *
*
*/
HALF_EVEN(BigDecimal.ROUND_HALF_EVEN),
@@ -284,10 +316,13 @@ public enum RoundingMode {
* specified on an operation that yields an inexact result, an
* {@code ArithmeticException} is thrown.
*Example:
- *
+ *
* Rounding mode UNNECESSARY Examples
+ *
*| Input Number |
* Input rounded to one digit with {@code UNNECESSARY} rounding
+ * |
+ *
*| 5.5 | throw {@code ArithmeticException} |
* | 2.5 | throw {@code ArithmeticException} |
* | 1.6 | throw {@code ArithmeticException} |
@@ -298,6 +333,7 @@ public enum RoundingMode {
* | -1.6 | throw {@code ArithmeticException} |
* | -2.5 | throw {@code ArithmeticException} |
* | -5.5 | throw {@code ArithmeticException} |
+ *
*
*/
UNNECESSARY(BigDecimal.ROUND_UNNECESSARY);
diff --git a/jdk/src/java.base/share/classes/java/net/Inet4Address.java b/jdk/src/java.base/share/classes/java/net/Inet4Address.java
index 1efd9fca038..25c5ab41224 100644
--- a/jdk/src/java.base/share/classes/java/net/Inet4Address.java
+++ b/jdk/src/java.base/share/classes/java/net/Inet4Address.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -41,12 +41,12 @@ import java.io.ObjectStreamException;
* Textual representation of IPv4 address used as input to methods
* takes one of the following forms:
*
- *
- * | {@code d.d.d.d} |
- * | {@code d.d.d} |
- * | {@code d.d} |
- * | {@code d} |
- *
+ *
+ * - {@code d.d.d.d}
+ * - {@code d.d.d}
+ * - {@code d.d}
+ * - {@code d}
+ *
*
* When four parts are specified, each is interpreted as a byte of
* data and assigned, from left to right, to the four bytes of an IPv4
diff --git a/jdk/src/java.base/share/classes/java/net/Inet6Address.java b/jdk/src/java.base/share/classes/java/net/Inet6Address.java
index a6ebe99127d..0df84877cd5 100644
--- a/jdk/src/java.base/share/classes/java/net/Inet6Address.java
+++ b/jdk/src/java.base/share/classes/java/net/Inet6Address.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -49,9 +49,9 @@ import java.util.Arrays;
* the hexadecimal values of the eight 16-bit pieces of the
* address. This is the full form. For example,
*
- *
- * | {@code 1080:0:0:0:8:800:200C:417A} | |
- *
+ *
+ * - {@code 1080:0:0:0:8:800:200C:417A}
+ *
*
* Note that it is not necessary to write the leading zeros in
* an individual field. However, there must be at least one numeral
@@ -66,9 +66,9 @@ import java.util.Arrays;
* The "::" can also be used to compress the leading and/or trailing
* zeros in an address. For example,
*
- *
- * | {@code 1080::8:800:200C:417A} | |
- *
+ *
+ * - {@code 1080::8:800:200C:417A}
+ *
*
* An alternative form that is sometimes more convenient
* when dealing with a mixed environment of IPv4 and IPv6 nodes is
@@ -77,35 +77,35 @@ import java.util.Arrays;
* are the decimal values of the four low-order 8-bit pieces of the
* standard IPv4 representation address, for example,
*
- *
- * | {@code ::FFFF:129.144.52.38} | |
- * | {@code ::129.144.52.38} | |
- *
+ *
+ * - {@code ::FFFF:129.144.52.38}
+ * - {@code ::129.144.52.38}
+ *
*
* where "::FFFF:d.d.d.d" and "::d.d.d.d" are, respectively, the
* general forms of an IPv4-mapped IPv6 address and an
* IPv4-compatible IPv6 address. Note that the IPv4 portion must be
* in the "d.d.d.d" form. The following forms are invalid:
*
- *
- * | {@code ::FFFF:d.d.d} | |
- * | {@code ::FFFF:d.d} | |
- * | {@code ::d.d.d} | |
- * | {@code ::d.d} | |
- *
+ *
+ * - {@code ::FFFF:d.d.d}
+ * - {@code ::FFFF:d.d}
+ * - {@code ::d.d.d}
+ * - {@code ::d.d}
+ *
*
* The following form:
*
- *
+ *
*
* is valid, however it is an unconventional representation of
* the IPv4-compatible IPv6 address,
*
- *
- * | {@code ::255.255.0.d} | |
- *
+ *
+ * - {@code ::255.255.0.d}
+ *
*
* while "::d" corresponds to the general IPv6 address
* "0:0:0:0:0:0:0:d".
@@ -119,9 +119,10 @@ import java.util.Arrays;
* Special IPv6 address
*
*
- *
- * | IPv4-mapped address |
- * Of the form::ffff:w.x.y.z, this IPv6 address is used to
+ *
+ * Description of IPv4-mapped address
+ * | IPv4-mapped address |
+ * Of the form ::ffff:w.x.y.z, this IPv6 address is used to
* represent an IPv4 address. It allows the native program to
* use the same address data structure and also the same
* socket when communicating with both IPv4 and IPv6 nodes.
diff --git a/jdk/src/java.base/share/classes/java/net/InetAddress.java b/jdk/src/java.base/share/classes/java/net/InetAddress.java
index 84457f30066..22d9ce80303 100644
--- a/jdk/src/java.base/share/classes/java/net/InetAddress.java
+++ b/jdk/src/java.base/share/classes/java/net/InetAddress.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 2017, 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
@@ -72,7 +72,9 @@ import sun.net.util.IPAddressUtil;
*
* Address types
*
- *
+ *
+ * Description of unicast and multicast address types
+ *
* | unicast |
* An identifier for a single interface. A packet sent to
* a unicast address is delivered to the interface identified by
@@ -96,6 +98,7 @@ import sun.net.util.IPAddressUtil;
* | An identifier for a set of interfaces (typically belonging
* to different nodes). A packet sent to a multicast address is
* delivered to all interfaces identified by that address. |
+ *
*
*
* IP address scope
diff --git a/jdk/src/java.base/share/classes/java/net/NetPermission.java b/jdk/src/java.base/share/classes/java/net/NetPermission.java
index dad3fb99f32..f156fb7af50 100644
--- a/jdk/src/java.base/share/classes/java/net/NetPermission.java
+++ b/jdk/src/java.base/share/classes/java/net/NetPermission.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -47,12 +47,16 @@ import java.util.StringTokenizer;
* and for each provides a description of what the permission allows
* and a discussion of the risks of granting code the permission.
*
- *
+ *
+ * Permission target name, what the permission allows, and associated risks
+ *
*
* | Permission Target Name |
* What the Permission Allows |
* Risks of Allowing this Permission |
*
+ *
+ *
*
* | allowHttpTrace |
* The ability to use the HTTP TRACE method in HttpURLConnection. |
@@ -151,6 +155,7 @@ import java.util.StringTokenizer;
* creating a ProtectionDomain/CodeSource for a class even though
* that class really didn't come from that location.
*
+
*
*
* @see java.security.BasicPermission
diff --git a/jdk/src/java.base/share/classes/java/net/URI.java b/jdk/src/java.base/share/classes/java/net/URI.java
index 3bf4895c1e5..48c224798a0 100644
--- a/jdk/src/java.base/share/classes/java/net/URI.java
+++ b/jdk/src/java.base/share/classes/java/net/URI.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -83,11 +83,11 @@ import java.lang.NullPointerException; // for javadoc
* not begin with a slash character ({@code '/'}). Opaque URIs are not
* subject to further parsing. Some examples of opaque URIs are:
*
- *
- * | {@code mailto:java-net@java.sun.com} | |
- * | {@code news:comp.lang.java} | |
- * | {@code urn:isbn:096139210x} |
- *
+ *
+ * - {@code mailto:java-net@java.sun.com}
+ * - {@code news:comp.lang.java}
+ * - {@code urn:isbn:096139210x}
+ *
*
* A hierarchical URI is either an absolute URI whose
* scheme-specific part begins with a slash character, or a relative URI, that
@@ -132,8 +132,12 @@ import java.lang.NullPointerException; // for javadoc
*
* All told, then, a URI instance has the following nine components:
*
- *
+ *
+ * Describes the components of a URI:scheme,scheme-specific-part,authority,user-info,host,port,path,query,fragment
+ *
* | Component | Type |
+ *
+ *
* | scheme | {@code String} |
* | scheme-specific-part | {@code String} |
* | authority | {@code String} |
@@ -143,6 +147,7 @@ import java.lang.NullPointerException; // for javadoc
* | path | {@code String} |
* | query | {@code String} |
* | fragment | {@code String} |
+ *
*
*
* In a given instance any particular component is either undefined or
@@ -248,7 +253,9 @@ import java.lang.NullPointerException; // for javadoc
* which are taken from that specification, are used below to describe these
* constraints:
*
- *
+ *
+ * Describes categories alpha,digit,alphanum,unreserved,punct,reserved,escaped,and other
+ *
* | alpha |
* The US-ASCII alphabetic characters,
* {@code 'A'} through {@code 'Z'}
@@ -279,6 +286,7 @@ import java.lang.NullPointerException; // for javadoc
* java.lang.Character#isSpaceChar(char) Character.isSpaceChar}
* method) (Deviation from RFC 2396, which is
* limited to US-ASCII) |
+ *
*
*
* The set of all legal URI characters consists of
diff --git a/jdk/src/java.base/share/classes/java/net/URLConnection.java b/jdk/src/java.base/share/classes/java/net/URLConnection.java
index e88c2f5f40c..c9331b704af 100644
--- a/jdk/src/java.base/share/classes/java/net/URLConnection.java
+++ b/jdk/src/java.base/share/classes/java/net/URLConnection.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 2017, 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
@@ -54,13 +54,18 @@ import sun.security.action.GetPropertyAction;
* read from and to write to the resource referenced by the URL. In
* general, creating a connection to a URL is a multistep process:
*
- *
+ *
+ * Describes the process of creating a connection to a URL: openConnection() and connect() over time.
+ *
* | {@code openConnection()} |
* {@code connect()} |
+ *
+ *
* | Manipulate parameters that affect the connection to the remote
* resource. |
* Interact with the resource; query header fields and
* contents. |
+ *
*
* ---------------------------->
* time
diff --git a/jdk/src/java.base/share/classes/java/net/URLPermission.java b/jdk/src/java.base/share/classes/java/net/URLPermission.java
index e78c7aee68c..43a8bd43066 100644
--- a/jdk/src/java.base/share/classes/java/net/URLPermission.java
+++ b/jdk/src/java.base/share/classes/java/net/URLPermission.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2017, 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
@@ -72,9 +72,12 @@ import java.security.Permission;
* separated by '/' characters. path may also be empty. The path is specified
* in a similar way to the path in {@link java.io.FilePermission}. There are
* three different ways as the following examples show:
- *
+ *
* URL Examples
+ *
* | Example url | Description |
+ *
+ *
* | http://www.oracle.com/a/b/c.html |
* A url which identifies a specific (single) resource |
*
@@ -90,6 +93,7 @@ import java.security.Permission;
* example).
*
*
+ *
*
*
* The '*' and '-' may only be specified in the final segment of a path and must be
@@ -246,9 +250,12 @@ public final class URLPermission extends Permission {
* otherwise, return false
*
* Some examples of how paths are matched are shown below:
- *
+ *
* Examples of Path Matching
+ *
* | this's path | p's path | match |
+ *
+ *
* | /a/b | /a/b | yes |
* | /a/b/* | /a/b/c | yes |
* | /a/b/* | /a/b/c/d | no |
@@ -256,6 +263,7 @@ public final class URLPermission extends Permission {
* | /a/b/- | /a/b/c/d/e | yes |
* | /a/b/- | /a/b/c/* | yes |
* | /a/b/* | /a/b/c/- | no |
+ *
*
*/
public boolean implies(Permission p) {
diff --git a/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousChannelGroup.java b/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousChannelGroup.java
index d7bb619bd21..acd7da8b1d9 100644
--- a/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousChannelGroup.java
+++ b/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousChannelGroup.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2017, 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
@@ -60,11 +60,15 @@ import java.util.concurrent.TimeUnit;
* default group is not configured then the pooled threads of the default group
* are {@link Thread#isDaemon daemon} threads.
*
- *
+ *
+ * System properties
+ *
*
* | System property |
* Description |
*
+ *
+ *
*
* | {@code java.nio.channels.DefaultThreadPool.threadFactory} |
* The value of this property is taken to be the fully-qualified name
@@ -86,6 +90,7 @@ import java.util.concurrent.TimeUnit;
* unspecified error to be thrown during the construction of the default
* group. |
*
+ *
*
*
* Threading
diff --git a/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousFileChannel.java b/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousFileChannel.java
index 4b5548e79e5..9653a433050 100644
--- a/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousFileChannel.java
+++ b/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousFileChannel.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2017, 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
@@ -133,8 +133,12 @@ public abstract class AsynchronousFileChannel
* In addition to {@code READ} and {@code WRITE}, the following options
* may be present:
*
- *
+ *
+ * additional options
+ *
* | Option | Description |
+ *
+ *
*
* | {@link StandardOpenOption#TRUNCATE_EXISTING TRUNCATE_EXISTING} |
* When opening an existing file, the file is first truncated to a
@@ -186,6 +190,7 @@ public abstract class AsynchronousFileChannel
* href="../file/package-summary.html#integrity"> Synchronized I/O file
* integrity). |
*
+ *
*
*
* An implementation may also support additional options.
diff --git a/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousServerSocketChannel.java b/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousServerSocketChannel.java
index 44a2460426f..137451c7763 100644
--- a/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousServerSocketChannel.java
+++ b/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousServerSocketChannel.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2017, 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
@@ -52,11 +52,15 @@ import java.io.IOException;
* Socket options are configured using the {@link #setOption(SocketOption,Object)
* setOption} method. Channels of this type support the following options:
*
- *
+ *
+ * Socket options
+ *
*
* | Option Name |
* Description |
*
+ *
+ *
*
* | {@link java.net.StandardSocketOptions#SO_RCVBUF SO_RCVBUF} |
* The size of the socket receive buffer |
@@ -65,6 +69,7 @@ import java.io.IOException;
* {@link java.net.StandardSocketOptions#SO_REUSEADDR SO_REUSEADDR} |
* Re-use address |
*
+ *
*
*
* Additional (implementation specific) options may also be supported.
diff --git a/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousSocketChannel.java b/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousSocketChannel.java
index d5e2abeb63a..6ba16628632 100644
--- a/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousSocketChannel.java
+++ b/jdk/src/java.base/share/classes/java/nio/channels/AsynchronousSocketChannel.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2017, 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
@@ -62,11 +62,15 @@ import java.nio.ByteBuffer;
* Socket options are configured using the {@link #setOption(SocketOption,Object)
* setOption} method. Asynchronous socket channels support the following options:
*
- *
+ *
+ * Socket options
+ *
*
* | Option Name |
* Description |
*
+ *
+ *
*
* | {@link java.net.StandardSocketOptions#SO_SNDBUF SO_SNDBUF} |
* The size of the socket send buffer |
@@ -87,6 +91,7 @@ import java.nio.ByteBuffer;
* {@link java.net.StandardSocketOptions#TCP_NODELAY TCP_NODELAY} |
* Disable the Nagle algorithm |
*
+ *
*
*
* Additional (implementation specific) options may also be supported.
diff --git a/jdk/src/java.base/share/classes/java/nio/channels/DatagramChannel.java b/jdk/src/java.base/share/classes/java/nio/channels/DatagramChannel.java
index 0b3278bf356..ac96bc61596 100644
--- a/jdk/src/java.base/share/classes/java/nio/channels/DatagramChannel.java
+++ b/jdk/src/java.base/share/classes/java/nio/channels/DatagramChannel.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -57,11 +57,15 @@ import java.nio.channels.spi.SelectorProvider;
* setOption} method. A datagram channel to an Internet Protocol socket supports
* the following options:
*
- *
+ *
+ * Socket options
+ *
*
* | Option Name |
* Description |
*
+ *
+ *
*
* | {@link java.net.StandardSocketOptions#SO_SNDBUF SO_SNDBUF} |
* The size of the socket send buffer |
@@ -97,6 +101,7 @@ import java.nio.channels.spi.SelectorProvider;
* IP_MULTICAST_LOOP}
* Loopback for Internet Protocol (IP) multicast datagrams |
*
+ *
*
*
* Additional (implementation specific) options may also be supported.
diff --git a/jdk/src/java.base/share/classes/java/nio/channels/FileChannel.java b/jdk/src/java.base/share/classes/java/nio/channels/FileChannel.java
index d4fb4564259..551ef21bb2c 100644
--- a/jdk/src/java.base/share/classes/java/nio/channels/FileChannel.java
+++ b/jdk/src/java.base/share/classes/java/nio/channels/FileChannel.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -174,8 +174,12 @@ public abstract class FileChannel
* In the addition to {@code READ} and {@code WRITE}, the following
* options may be present:
*
- *
+ *
+ * additional options
+ *
* | Option | Description |
+ *
+ *
*
* | {@link StandardOpenOption#APPEND APPEND} |
* If this option is present then the file is opened for writing and
@@ -237,6 +241,7 @@ public abstract class FileChannel
* href="../file/package-summary.html#integrity"> Synchronized I/O file
* integrity). |
*
+ *
*
*
* An implementation may also support additional options.
diff --git a/jdk/src/java.base/share/classes/java/nio/channels/ServerSocketChannel.java b/jdk/src/java.base/share/classes/java/nio/channels/ServerSocketChannel.java
index 7c9666bbdd8..ea8951b2d2e 100644
--- a/jdk/src/java.base/share/classes/java/nio/channels/ServerSocketChannel.java
+++ b/jdk/src/java.base/share/classes/java/nio/channels/ServerSocketChannel.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -46,11 +46,15 @@ import java.nio.channels.spi.SelectorProvider;
* Socket options are configured using the {@link #setOption(SocketOption,Object)
* setOption} method. Server-socket channels support the following options:
*
- *
+ *
+ * Socket options
+ *
*
* | Option Name |
* Description |
*
+ *
+ *
*
* | {@link java.net.StandardSocketOptions#SO_RCVBUF SO_RCVBUF} |
* The size of the socket receive buffer |
@@ -59,6 +63,7 @@ import java.nio.channels.spi.SelectorProvider;
* {@link java.net.StandardSocketOptions#SO_REUSEADDR SO_REUSEADDR} |
* Re-use address |
*
+ *
*
*
* Additional (implementation specific) options may also be supported.
diff --git a/jdk/src/java.base/share/classes/java/nio/channels/SocketChannel.java b/jdk/src/java.base/share/classes/java/nio/channels/SocketChannel.java
index c25cc68edf2..0025d2c22cf 100644
--- a/jdk/src/java.base/share/classes/java/nio/channels/SocketChannel.java
+++ b/jdk/src/java.base/share/classes/java/nio/channels/SocketChannel.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -66,11 +66,15 @@ import java.nio.channels.spi.SelectorProvider;
* Socket options are configured using the {@link #setOption(SocketOption,Object)
* setOption} method. Socket channels support the following options:
*
- *
+ *
+ * Socket options
+ *
*
* | Option Name |
* Description |
*
+ *
+ *
*
* | {@link java.net.StandardSocketOptions#SO_SNDBUF SO_SNDBUF} |
* The size of the socket send buffer |
@@ -96,6 +100,7 @@ import java.nio.channels.spi.SelectorProvider;
* {@link java.net.StandardSocketOptions#TCP_NODELAY TCP_NODELAY} |
* Disable the Nagle algorithm |
*
+ *
*
*
* Additional (implementation specific) options may also be supported.
diff --git a/jdk/src/java.base/share/classes/java/nio/charset/Charset.java b/jdk/src/java.base/share/classes/java/nio/charset/Charset.java
index a9a8b91e692..480ede3e6a2 100644
--- a/jdk/src/java.base/share/classes/java/nio/charset/Charset.java
+++ b/jdk/src/java.base/share/classes/java/nio/charset/Charset.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -147,8 +147,12 @@ import sun.security.action.GetPropertyAction;
* implementation to see if any other charsets are supported. The behavior
* of such optional charsets may differ between implementations.
*
- *
+ *
+ * Description of standard charsets
+ *
* | Charset | Description |
+ *
+ *
* | {@code US-ASCII} |
* Seven-bit ASCII, a.k.a. {@code ISO646-US},
* a.k.a. the Basic Latin block of the Unicode character set |
@@ -165,6 +169,7 @@ import sun.security.action.GetPropertyAction;
* | {@code UTF-16} |
* Sixteen-bit UCS Transformation Format,
* byte order identified by an optional byte-order mark |
+ *
*
*
* The {@code UTF-8} charset is specified by
- *
+ *
+ * Pattern Language
+ *
*
* | {@code *.java} |
* Matches a path that represents a file name ending in {@code .java} |
@@ -348,7 +350,7 @@ public abstract class FileSystem
* platform (note that the backslash is escaped; as a string literal in the
* Java Language the pattern would be "C:\\\\*")
*
- *
+ *
*
*
*
diff --git a/jdk/src/java.base/share/classes/java/nio/file/Files.java b/jdk/src/java.base/share/classes/java/nio/file/Files.java
index 3a6491440a7..ac662e4e431 100644
--- a/jdk/src/java.base/share/classes/java/nio/file/Files.java
+++ b/jdk/src/java.base/share/classes/java/nio/file/Files.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2017, 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
@@ -233,8 +233,12 @@ public final class Files {
* In the addition to {@code READ} and {@code WRITE}, the following
* options may be present:
*
- *
+ *
+ * Options
+ *
* | Option | Description |
+ *
+ *
*
* | {@link StandardOpenOption#APPEND APPEND} |
* If this option is present then the file is opened for writing and
@@ -294,6 +298,7 @@ public final class Files {
* href="package-summary.html#integrity"> Synchronized I/O file
* integrity). |
*
+ *
*
*
* An implementation may also support additional implementation specific
@@ -1188,8 +1193,12 @@ public final class Files {
*
* The {@code options} parameter may include any of the following:
*
- *
+ *
+ * Options
+ *
* | Option | Description |
+ *
+ *
*
* | {@link StandardCopyOption#REPLACE_EXISTING REPLACE_EXISTING} |
* If the target file exists, then the target file is replaced if it
@@ -1215,6 +1224,7 @@ public final class Files {
* new link. In other words, the {@code COPY_ATTRIBUTES} option may be
* ignored when copying a symbolic link. |
*
+ *
*
*
* An implementation of this interface may support additional
@@ -1306,8 +1316,12 @@ public final class Files {
*
* The {@code options} parameter may include any of the following:
*
- *
+ *
+ * Options
+ *
* | Option | Description |
+ *
+ *
*
* | {@link StandardCopyOption#REPLACE_EXISTING REPLACE_EXISTING} |
* If the target file exists, then the target file is replaced if it
@@ -1326,6 +1340,7 @@ public final class Files {
* example, when the target location is on a different {@code FileStore}
* and would require that the file be copied, or target location is
* associated with a different provider to this object. |
+ *
*
*
* An implementation of this interface may support additional
@@ -1909,7 +1924,9 @@ public final class Files {
* attributes} parameter:
*
*
- *
+ *
+ * Possible values
+ *
*
* | {@code "*"} |
* Read all {@link BasicFileAttributes basic-file-attributes}. |
@@ -1927,6 +1944,7 @@ public final class Files {
* {@code "posix:permissions,owner,size"} |
* Reads the POSIX file permissions, owner, and file size. |
*
+ *
*
*
*
diff --git a/jdk/src/java.base/share/classes/java/nio/file/LinkPermission.java b/jdk/src/java.base/share/classes/java/nio/file/LinkPermission.java
index bf54e168774..8f82d9f2adb 100644
--- a/jdk/src/java.base/share/classes/java/nio/file/LinkPermission.java
+++ b/jdk/src/java.base/share/classes/java/nio/file/LinkPermission.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2017, 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
@@ -33,13 +33,16 @@ import java.security.BasicPermission;
* The following table provides a summary description of what the permission
* allows, and discusses the risks of granting code the permission.
*
- *
+ *
+ * Table shows permission target name, what the permission allows, and associated risks
+ *
*
* | Permission Target Name |
* What the Permission Allows |
* Risks of Allowing this Permission |
*
+ *
+ *
*
* | hard |
* Ability to add an existing file to a directory. This is sometimes
@@ -55,6 +58,7 @@ import java.security.BasicPermission;
* linking to any file or directory in the file system thus allowing the
* attacker to access to all files. |
*
+ *
*
*
* @since 1.7
diff --git a/jdk/src/java.base/share/classes/java/nio/file/attribute/AclFileAttributeView.java b/jdk/src/java.base/share/classes/java/nio/file/attribute/AclFileAttributeView.java
index 429bfde8a1b..4ba76741dd0 100644
--- a/jdk/src/java.base/share/classes/java/nio/file/attribute/AclFileAttributeView.java
+++ b/jdk/src/java.base/share/classes/java/nio/file/attribute/AclFileAttributeView.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2017, 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
@@ -94,11 +94,15 @@ import java.io.IOException;
* Where dynamic access to file attributes is required, the attributes
* supported by this attribute view are as follows:
*
- *
+ *
+ * Supported attributes
+ *
*
* | Name |
* Type |
*
+ *
+ *
*
* | "acl" |
* {@link List}<{@link AclEntry}> |
@@ -107,6 +111,7 @@ import java.io.IOException;
* "owner" |
* {@link UserPrincipal} |
*
+ *
*
*
*
diff --git a/jdk/src/java.base/share/classes/java/nio/file/attribute/BasicFileAttributeView.java b/jdk/src/java.base/share/classes/java/nio/file/attribute/BasicFileAttributeView.java
index bfa3fdc2676..465fb6bc3f3 100644
--- a/jdk/src/java.base/share/classes/java/nio/file/attribute/BasicFileAttributeView.java
+++ b/jdk/src/java.base/share/classes/java/nio/file/attribute/BasicFileAttributeView.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2017, 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
@@ -41,11 +41,15 @@ import java.io.IOException;
* Where dynamic access to file attributes is required, the attributes
* supported by this attribute view have the following names and types:
*
- *
+ *
+ * Supported attributes
+ *
*
* | Name |
* Type |
*
+ *
+ *
*
* | "lastModifiedTime" |
* {@link FileTime} |
@@ -82,6 +86,7 @@ import java.io.IOException;
* "fileKey" |
* {@link Object} |
*
+ *
*
*
*
diff --git a/jdk/src/java.base/share/classes/java/nio/file/attribute/DosFileAttributeView.java b/jdk/src/java.base/share/classes/java/nio/file/attribute/DosFileAttributeView.java
index c12d8a0e5f0..be4f570b46b 100644
--- a/jdk/src/java.base/share/classes/java/nio/file/attribute/DosFileAttributeView.java
+++ b/jdk/src/java.base/share/classes/java/nio/file/attribute/DosFileAttributeView.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2017, 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
@@ -41,11 +41,15 @@ import java.io.IOException;
* BasicFileAttributeView}, and in addition, the following attributes are
* supported:
*
- *
+ *
+ * Supported attributes
+ *
*
* | Name |
* Type |
*
+ *
+ *
*
* | readonly |
* {@link Boolean} |
@@ -62,6 +66,7 @@ import java.io.IOException;
* archive |
* {@link Boolean} |
*
+ *
*
*
*
diff --git a/jdk/src/java.base/share/classes/java/nio/file/attribute/PosixFileAttributeView.java b/jdk/src/java.base/share/classes/java/nio/file/attribute/PosixFileAttributeView.java
index f8c36523d66..9e171768603 100644
--- a/jdk/src/java.base/share/classes/java/nio/file/attribute/PosixFileAttributeView.java
+++ b/jdk/src/java.base/share/classes/java/nio/file/attribute/PosixFileAttributeView.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2017, 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
@@ -74,11 +74,15 @@ import java.io.IOException;
* BasicFileAttributeView} and {@link FileOwnerAttributeView}, and in addition,
* the following attributes are supported:
*
- *
+ *
+ * Supported attributes
+ *
*
* | Name |
* Type |
*
+ *
+ *
*
* | "permissions" |
* {@link Set}<{@link PosixFilePermission}> |
@@ -87,6 +91,7 @@ import java.io.IOException;
* "group" |
* {@link GroupPrincipal} |
*
+ *
*
*
*
diff --git a/jdk/src/java.base/share/classes/java/nio/file/spi/FileSystemProvider.java b/jdk/src/java.base/share/classes/java/nio/file/spi/FileSystemProvider.java
index b92cf525eef..26dc40606de 100644
--- a/jdk/src/java.base/share/classes/java/nio/file/spi/FileSystemProvider.java
+++ b/jdk/src/java.base/share/classes/java/nio/file/spi/FileSystemProvider.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2017, 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
@@ -919,8 +919,12 @@ public abstract class FileSystemProvider {
* according to all of access modes specified in the {@code modes} parameter
* as follows:
*
- *
+ *
+ * Access Modes
+ *
* | Value | Description |
+ *
+ *
*
* | {@link AccessMode#READ READ} |
* Checks that the file exists and that the Java virtual machine has
@@ -940,6 +944,7 @@ public abstract class FileSystemProvider {
* virtual machine has permission to search the directory in order to
* access file or subdirectories. |
*
+ *
*
*
* If the {@code modes} parameter is of length zero, then the existence
diff --git a/jdk/src/java.base/share/classes/java/security/AlgorithmParameterGenerator.java b/jdk/src/java.base/share/classes/java/security/AlgorithmParameterGenerator.java
index 7d1134493ce..8694b603c07 100644
--- a/jdk/src/java.base/share/classes/java/security/AlgorithmParameterGenerator.java
+++ b/jdk/src/java.base/share/classes/java/security/AlgorithmParameterGenerator.java
@@ -75,9 +75,9 @@ import java.util.Objects;
* {@code DSA} (1024, 2048)
*
* These algorithms are described in the
+ * "{@docRoot}/../specs/security/standard-names.html#algorithmparametergenerator-algorithms">
* AlgorithmParameterGenerator section of the
- * Java Cryptography Architecture Standard Algorithm Name Documentation.
+ * Java Security Standard Algorithm Names Specification.
* Consult the release documentation for your implementation to see if any
* other algorithms are supported.
*
@@ -150,8 +150,8 @@ public class AlgorithmParameterGenerator {
* @param algorithm the name of the algorithm this
* parameter generator is associated with.
* See the AlgorithmParameterGenerator section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#algorithmparametergenerator-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @return the new {@code AlgorithmParameterGenerator} object
@@ -195,8 +195,8 @@ public class AlgorithmParameterGenerator {
* @param algorithm the name of the algorithm this
* parameter generator is associated with.
* See the AlgorithmParameterGenerator section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#algorithmparametergenerator-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the string name of the Provider.
@@ -245,8 +245,8 @@ public class AlgorithmParameterGenerator {
* @param algorithm the string name of the algorithm this
* parameter generator is associated with.
* See the AlgorithmParameterGenerator section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#algorithmparametergenerator-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the {@code Provider} object.
diff --git a/jdk/src/java.base/share/classes/java/security/AlgorithmParameters.java b/jdk/src/java.base/share/classes/java/security/AlgorithmParameters.java
index e03361233a5..a5ed953e65b 100644
--- a/jdk/src/java.base/share/classes/java/security/AlgorithmParameters.java
+++ b/jdk/src/java.base/share/classes/java/security/AlgorithmParameters.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -57,9 +57,9 @@ import java.util.Objects;
* {@code DSA}
*
* These algorithms are described in the
+ * "{@docRoot}/../specs/security/standard-names.html#algorithmparameters-algorithms">
* AlgorithmParameters section of the
- * Java Cryptography Architecture Standard Algorithm Name Documentation.
+ * Java Security Standard Algorithm Names Specification.
* Consult the release documentation for your implementation to see if any
* other algorithms are supported.
*
@@ -137,8 +137,8 @@ public class AlgorithmParameters {
*
* @param algorithm the name of the algorithm requested.
* See the AlgorithmParameters section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#algorithmparameters-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @return the new parameter object
@@ -182,8 +182,8 @@ public class AlgorithmParameters {
*
* @param algorithm the name of the algorithm requested.
* See the AlgorithmParameters section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#algorithmparameters-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the name of the provider.
@@ -232,8 +232,8 @@ public class AlgorithmParameters {
*
* @param algorithm the name of the algorithm requested.
* See the AlgorithmParameters section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#algorithmparameters-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the name of the provider.
diff --git a/jdk/src/java.base/share/classes/java/security/DrbgParameters.java b/jdk/src/java.base/share/classes/java/security/DrbgParameters.java
index b17cf07ace8..05723baa916 100644
--- a/jdk/src/java.base/share/classes/java/security/DrbgParameters.java
+++ b/jdk/src/java.base/share/classes/java/security/DrbgParameters.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, 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
@@ -188,7 +188,7 @@ import java.util.Objects;
* @implSpec
* By convention, a provider should name its primary DRBG implementation
* with the
+ * "{@docRoot}/../specs/security/standard-names.html#securerandom-number-generation-algorithms">
* standard {@code SecureRandom} algorithm name "DRBG".
*
* @implNote
@@ -263,14 +263,19 @@ public class DrbgParameters {
* Capability effective = ((DrbgParametes.Initiate) s.getParameters())
* .getCapability();
*
- *
+ *
+ * requested and effective capabilities
+ *
*
* | Requested Value |
* Possible Effective Values |
*
+ *
+ *
* | NONE | NONE, RESEED_ONLY, PR_AND_RESEED |
* | RESEED_ONLY | RESEED_ONLY, PR_AND_RESEED |
* | PR_AND_RESEED | PR_AND_RESEED |
+ *
*
*
* A DRBG implementation supporting prediction resistance must also
diff --git a/jdk/src/java.base/share/classes/java/security/KeyFactory.java b/jdk/src/java.base/share/classes/java/security/KeyFactory.java
index 4d297157ebc..8171cb1b568 100644
--- a/jdk/src/java.base/share/classes/java/security/KeyFactory.java
+++ b/jdk/src/java.base/share/classes/java/security/KeyFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -75,9 +75,9 @@ import sun.security.jca.GetInstance.Instance;
* {@code RSA}
*
* These algorithms are described in the
+ * "{@docRoot}/../specs/security/standard-names.html#keyfactory-algorithms">
* KeyFactory section of the
- * Java Cryptography Architecture Standard Algorithm Name Documentation.
+ * Java Security Standard Algorithm Names Specification.
* Consult the release documentation for your implementation to see if any
* other algorithms are supported.
*
@@ -163,8 +163,8 @@ public class KeyFactory {
*
* @param algorithm the name of the requested key algorithm.
* See the KeyFactory section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#keyfactory-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @return the new {@code KeyFactory} object
@@ -197,8 +197,8 @@ public class KeyFactory {
*
* @param algorithm the name of the requested key algorithm.
* See the KeyFactory section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#keyfactory-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the name of the provider.
@@ -239,8 +239,8 @@ public class KeyFactory {
*
* @param algorithm the name of the requested key algorithm.
* See the KeyFactory section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#keyfactory-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the provider.
diff --git a/jdk/src/java.base/share/classes/java/security/KeyPairGenerator.java b/jdk/src/java.base/share/classes/java/security/KeyPairGenerator.java
index 10d2f067f83..b2f87720e80 100644
--- a/jdk/src/java.base/share/classes/java/security/KeyPairGenerator.java
+++ b/jdk/src/java.base/share/classes/java/security/KeyPairGenerator.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -114,9 +114,9 @@ import sun.security.util.Debug;
* {@code RSA} (1024, 2048, 4096)
*
* These algorithms are described in the
+ * "{@docRoot}/../specs/security/standard-names.html#keypairgenerator-algorithms">
* KeyPairGenerator section of the
- * Java Cryptography Architecture Standard Algorithm Name Documentation.
+ * Java Security Standard Algorithm Names Specification.
* Consult the release documentation for your implementation to see if any
* other algorithms are supported.
*
@@ -142,8 +142,8 @@ public abstract class KeyPairGenerator extends KeyPairGeneratorSpi {
*
* @param algorithm the standard string name of the algorithm.
* See the KeyPairGenerator section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#keypairgenerator-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*/
protected KeyPairGenerator(String algorithm) {
@@ -153,8 +153,8 @@ public abstract class KeyPairGenerator extends KeyPairGeneratorSpi {
/**
* Returns the standard name of the algorithm for this key pair generator.
* See the KeyPairGenerator section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#keypairgenerator-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @return the standard string name of the algorithm.
@@ -205,8 +205,8 @@ public abstract class KeyPairGenerator extends KeyPairGeneratorSpi {
*
* @param algorithm the standard string name of the algorithm.
* See the KeyPairGenerator section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#keypairgenerator-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @return the new {@code KeyPairGenerator} object
@@ -264,8 +264,8 @@ public abstract class KeyPairGenerator extends KeyPairGeneratorSpi {
*
* @param algorithm the standard string name of the algorithm.
* See the KeyPairGenerator section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#keypairgenerator-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the string name of the provider.
@@ -306,8 +306,8 @@ public abstract class KeyPairGenerator extends KeyPairGeneratorSpi {
*
* @param algorithm the standard string name of the algorithm.
* See the KeyPairGenerator section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#keypairgenerator-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the provider.
diff --git a/jdk/src/java.base/share/classes/java/security/KeyStore.java b/jdk/src/java.base/share/classes/java/security/KeyStore.java
index f963cae1390..fec312740f4 100644
--- a/jdk/src/java.base/share/classes/java/security/KeyStore.java
+++ b/jdk/src/java.base/share/classes/java/security/KeyStore.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -176,9 +176,9 @@ import sun.security.util.Debug;
* {@code PKCS12}
*
* This type is described in the
+ * "{@docRoot}/../specs/security/standard-names.html#keystore-types">
* KeyStore section of the
- * Java Cryptography Architecture Standard Algorithm Name Documentation.
+ * Java Security Standard Algorithm Names Specification.
* Consult the release documentation for your implementation to see if any
* other types are supported.
*
@@ -291,9 +291,8 @@ public class KeyStore {
* @param protectionAlgorithm the encryption algorithm name, for
* example, {@code PBEWithHmacSHA256AndAES_256}.
* See the Cipher section in the
- * Java Cryptography Architecture Standard Algorithm Name
- * Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#cipher-algorithm-names">
+ * Java Security Standard Algorithm Names Specification
* for information about standard encryption algorithm names.
* @param protectionParameters the encryption algorithm parameter
* specification, which may be {@code null}
@@ -854,8 +853,8 @@ public class KeyStore {
*
* @param type the type of keystore.
* See the KeyStore section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#keystore-types">
+ * Java Security Standard Algorithm Names Specification
* for information about standard keystore types.
*
* @return a keystore object of the specified type
@@ -895,8 +894,8 @@ public class KeyStore {
*
* @param type the type of keystore.
* See the KeyStore section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#keystore-types">
+ * Java Security Standard Algorithm Names Specification
* for information about standard keystore types.
*
* @param provider the name of the provider.
@@ -941,8 +940,8 @@ public class KeyStore {
*
* @param type the type of keystore.
* See the KeyStore section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#keystore-types">
+ * Java Security Standard Algorithm Names Specification
* for information about standard keystore types.
*
* @param provider the provider.
diff --git a/jdk/src/java.base/share/classes/java/security/MessageDigest.java b/jdk/src/java.base/share/classes/java/security/MessageDigest.java
index 692dce5a10f..14eb6d6e7fe 100644
--- a/jdk/src/java.base/share/classes/java/security/MessageDigest.java
+++ b/jdk/src/java.base/share/classes/java/security/MessageDigest.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2017, 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
@@ -89,9 +89,9 @@ import javax.crypto.SecretKey;
* {@code SHA-256}
*
* These algorithms are described in the
+ * "{@docRoot}/../specs/security/standard-names.html#messagedigest-algorithms">
* MessageDigest section of the
- * Java Cryptography Architecture Standard Algorithm Name Documentation.
+ * Java Security Standard Algorithm Names Specification.
* Consult the release documentation for your implementation to see if any
* other algorithms are supported.
*
@@ -123,8 +123,8 @@ public abstract class MessageDigest extends MessageDigestSpi {
*
* @param algorithm the standard name of the digest algorithm.
* See the MessageDigest section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#messagedigest-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*/
protected MessageDigest(String algorithm) {
@@ -154,8 +154,8 @@ public abstract class MessageDigest extends MessageDigestSpi {
*
* @param algorithm the name of the algorithm requested.
* See the MessageDigest section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#messagedigest-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @return a {@code MessageDigest} object that implements the
@@ -209,8 +209,8 @@ public abstract class MessageDigest extends MessageDigestSpi {
*
* @param algorithm the name of the algorithm requested.
* See the MessageDigest section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#messagedigest-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the name of the provider.
@@ -262,8 +262,8 @@ public abstract class MessageDigest extends MessageDigestSpi {
*
* @param algorithm the name of the algorithm requested.
* See the MessageDigest section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#messagedigest-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the provider.
@@ -497,8 +497,8 @@ public abstract class MessageDigest extends MessageDigestSpi {
* implementation details. The name should be a standard
* Java Security name (such as "SHA", "MD5", and so on).
* See the MessageDigest section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#messagedigest-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @return the name of the algorithm
diff --git a/jdk/src/java.base/share/classes/java/security/Policy.java b/jdk/src/java.base/share/classes/java/security/Policy.java
index 73737ddb525..bad4f522367 100644
--- a/jdk/src/java.base/share/classes/java/security/Policy.java
+++ b/jdk/src/java.base/share/classes/java/security/Policy.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -365,8 +365,8 @@ public abstract class Policy {
*
* @param type the specified Policy type. See the Policy section in the
*
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#policy-types">
+ * Java Security Standard Algorithm Names Specification
* for a list of standard Policy types.
*
* @param params parameters for the Policy, which may be null.
@@ -419,8 +419,8 @@ public abstract class Policy {
*
* @param type the specified Policy type. See the Policy section in the
*
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#policy-types">
+ * Java Security Standard Algorithm Names Specification
* for a list of standard Policy types.
*
* @param params parameters for the Policy, which may be null.
@@ -485,8 +485,8 @@ public abstract class Policy {
*
* @param type the specified Policy type. See the Policy section in the
*
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#policy-types">
+ * Java Security Standard Algorithm Names Specification
* for a list of standard Policy types.
*
* @param params parameters for the Policy, which may be null.
diff --git a/jdk/src/java.base/share/classes/java/security/Provider.java b/jdk/src/java.base/share/classes/java/security/Provider.java
index f53660346a5..cc5313e2a19 100644
--- a/jdk/src/java.base/share/classes/java/security/Provider.java
+++ b/jdk/src/java.base/share/classes/java/security/Provider.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2017, 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
@@ -61,17 +61,21 @@ import java.util.function.Function;
* security framework. Services of this type cannot be added, removed,
* or modified by applications.
* The following attributes are automatically placed in each Provider object:
- *
+ *
* Attributes Automatically Placed in a Provider Object
+ *
* | Name | Value |
+ *
+ *
* | {@code Provider.id name} |
- * {@code String.valueOf(provider.getName())} |
+ * {@code String.valueOf(provider.getName())} |
* | {@code Provider.id version} |
* {@code String.valueOf(provider.getVersionStr())} |
* | {@code Provider.id info} |
- {@code String.valueOf(provider.getInfo())} |
+ * {@code String.valueOf(provider.getInfo())} |
* | {@code Provider.id className} |
* {@code provider.getClass().getName()} |
+ *
*
*
* Each provider has a name and a version string. A provider normally
diff --git a/jdk/src/java.base/share/classes/java/security/SecureRandom.java b/jdk/src/java.base/share/classes/java/security/SecureRandom.java
index 4f9f1b3a460..ae1f04f2896 100644
--- a/jdk/src/java.base/share/classes/java/security/SecureRandom.java
+++ b/jdk/src/java.base/share/classes/java/security/SecureRandom.java
@@ -126,7 +126,7 @@ import sun.security.util.Debug;
* @implSpec
* A {@code SecureRandom} service provider can advertise that it is thread-safe
* by setting the service
+ * "{@docRoot}/../specs/security/standard-names.html#service-attributes">service
* provider attribute "ThreadSafe" to "true" when registering the provider.
* Otherwise, this class will instead synchronize access to the following
* methods of the {@code SecureRandomSpi} implementation:
@@ -203,8 +203,8 @@ public class SecureRandom extends java.util.Random {
* the {@link Security#getProviders() Security.getProviders()} method.
*
* See the {@code SecureRandom} section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#securerandom-number-generation-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard RNG algorithm names.
*/
public SecureRandom() {
@@ -244,8 +244,8 @@ public class SecureRandom extends java.util.Random {
* the {@link Security#getProviders() Security.getProviders()} method.
*
* See the {@code SecureRandom} section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#securerandom-number-generation-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard RNG algorithm names.
*
* @param seed the seed.
@@ -341,8 +341,8 @@ public class SecureRandom extends java.util.Random {
*
* @param algorithm the name of the RNG algorithm.
* See the {@code SecureRandom} section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#securerandom-number-generation-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard RNG algorithm names.
*
* @return the new {@code SecureRandom} object
@@ -380,8 +380,8 @@ public class SecureRandom extends java.util.Random {
*
* @param algorithm the name of the RNG algorithm.
* See the {@code SecureRandom} section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#securerandom-number-generation-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard RNG algorithm names.
*
* @param provider the name of the provider.
@@ -424,8 +424,8 @@ public class SecureRandom extends java.util.Random {
*
* @param algorithm the name of the RNG algorithm.
* See the {@code SecureRandom} section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#securerandom-number-generation-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard RNG algorithm names.
*
* @param provider the provider.
@@ -478,8 +478,8 @@ public class SecureRandom extends java.util.Random {
*
* @param algorithm the name of the RNG algorithm.
* See the {@code SecureRandom} section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#securerandom-number-generation-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard RNG algorithm names.
*
* @param params the {@code SecureRandomParameters}
@@ -528,8 +528,8 @@ public class SecureRandom extends java.util.Random {
*
* @param algorithm the name of the RNG algorithm.
* See the {@code SecureRandom} section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#securerandom-number-generation-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard RNG algorithm names.
*
* @param params the {@code SecureRandomParameters}
@@ -581,8 +581,8 @@ public class SecureRandom extends java.util.Random {
*
* @param algorithm the name of the RNG algorithm.
* See the {@code SecureRandom} section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#securerandom-number-generation-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard RNG algorithm names.
*
* @param params the {@code SecureRandomParameters}
diff --git a/jdk/src/java.base/share/classes/java/security/SecureRandomSpi.java b/jdk/src/java.base/share/classes/java/security/SecureRandomSpi.java
index fefbe576a02..8443baf68ee 100644
--- a/jdk/src/java.base/share/classes/java/security/SecureRandomSpi.java
+++ b/jdk/src/java.base/share/classes/java/security/SecureRandomSpi.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2017, 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,7 +65,7 @@ package java.security;
* will synchronize access to each of the applicable engine methods
* (see {@link SecureRandom} for the list of methods). However, if a
* {@code SecureRandomSpi} implementation is thread-safe, the
+ * "{@docRoot}/../specs/security/standard-names.html#service-attributes">
* service provider attribute "ThreadSafe" should be set to "true" during
* its registration, as follows:
*
diff --git a/jdk/src/java.base/share/classes/java/security/Security.java b/jdk/src/java.base/share/classes/java/security/Security.java
index 1076b1d7da7..6c341abc92d 100644
--- a/jdk/src/java.base/share/classes/java/security/Security.java
+++ b/jdk/src/java.base/share/classes/java/security/Security.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2017, 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
@@ -281,8 +281,8 @@ public final class Security {
/**
* Gets a specified property for an algorithm. The algorithm name
* should be a standard name. See the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* One possible use is by specialized algorithm parsers, which may map
@@ -511,8 +511,8 @@ public final class Security {
*
*
* See the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html">
+ * Java Security Standard Algorithm Names Specification
* for information about standard cryptographic service names, standard
* algorithm names and standard attribute names.
*
@@ -582,8 +582,8 @@ public final class Security {
*
*
* See the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html">
+ * Java Security Standard Algorithm Names Specification
* for information about standard cryptographic service names, standard
* algorithm names and standard attribute names.
*
diff --git a/jdk/src/java.base/share/classes/java/security/SecurityPermission.java b/jdk/src/java.base/share/classes/java/security/SecurityPermission.java
index 8234624d26e..e0d25c9689f 100644
--- a/jdk/src/java.base/share/classes/java/security/SecurityPermission.java
+++ b/jdk/src/java.base/share/classes/java/security/SecurityPermission.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -45,12 +45,16 @@ import java.util.StringTokenizer;
* target names, and for each provides a description of what the permission
* allows and a discussion of the risks of granting code the permission.
*
- *
+ *
+ * target name, what the permission allows, and associated risks
+ *
*
* | Permission Target Name |
* What the Permission Allows |
* Risks of Allowing this Permission |
*
+ *
+ *
*
*
* | authProvider.{provider name} |
@@ -196,6 +200,7 @@ import java.util.StringTokenizer;
* described under the "removeProvider.{provider name}" permission.
*
*
+ *
*
*
*
@@ -204,13 +209,17 @@ import java.util.StringTokenizer;
* {@link IdentityScope}, {@link Signer}. Use of them is discouraged. See the
* applicable classes for more information.
*
- *
+ *
+ * target name, what the permission allows, and associated risks
+ *
*
* | Permission Target Name |
* What the Permission Allows |
* Risks of Allowing this Permission |
*
+ *
*
+ *
*
* | insertProvider.{provider name} |
* Addition of a new provider, with the specified name |
@@ -308,6 +317,7 @@ import java.util.StringTokenizer;
* data encrypted under that session key.
*
*
+ *
*
*
* @implNote
diff --git a/jdk/src/java.base/share/classes/java/security/Signature.java b/jdk/src/java.base/share/classes/java/security/Signature.java
index df5350e99f1..fd5dfad650a 100644
--- a/jdk/src/java.base/share/classes/java/security/Signature.java
+++ b/jdk/src/java.base/share/classes/java/security/Signature.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2017, 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
@@ -106,9 +106,9 @@ import sun.security.jca.GetInstance.Instance;
* {@code SHA256withRSA}
*
* These algorithms are described in the
+ * "{@docRoot}/../specs/security/standard-names.html#signature-algorithms">
* Signature section of the
- * Java Cryptography Architecture Standard Algorithm Name Documentation.
+ * Java Security Standard Algorithm Names Specification.
* Consult the release documentation for your implementation to see if any
* other algorithms are supported.
*
@@ -164,8 +164,8 @@ public abstract class Signature extends SignatureSpi {
*
* @param algorithm the standard string name of the algorithm.
* See the Signature section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#signature-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*/
protected Signature(String algorithm) {
@@ -209,8 +209,8 @@ public abstract class Signature extends SignatureSpi {
*
* @param algorithm the standard name of the algorithm requested.
* See the Signature section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#signature-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @return the new {@code Signature} object
@@ -332,8 +332,8 @@ public abstract class Signature extends SignatureSpi {
*
* @param algorithm the name of the algorithm requested.
* See the Signature section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#signature-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the name of the provider.
@@ -385,8 +385,8 @@ public abstract class Signature extends SignatureSpi {
*
* @param algorithm the name of the algorithm requested.
* See the Signature section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#signature-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the provider.
diff --git a/jdk/src/java.base/share/classes/java/security/cert/CertPath.java b/jdk/src/java.base/share/classes/java/security/cert/CertPath.java
index 88df135f6c0..295c5aa8804 100644
--- a/jdk/src/java.base/share/classes/java/security/cert/CertPath.java
+++ b/jdk/src/java.base/share/classes/java/security/cert/CertPath.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -91,9 +91,9 @@ import java.util.List;
* {@code PkiPath}
*
* These encodings are described in the
+ * "{@docRoot}/../specs/security/standard-names.html#certpath-encodings">
* CertPath Encodings section of the
- * Java Cryptography Architecture Standard Algorithm Name Documentation.
+ * Java Security Standard Algorithm Names Specification.
* Consult the release documentation for your implementation to see if any
* other encodings are supported.
*
diff --git a/jdk/src/java.base/share/classes/java/security/cert/CertPathBuilder.java b/jdk/src/java.base/share/classes/java/security/cert/CertPathBuilder.java
index 12f608816be..46d5c77580c 100644
--- a/jdk/src/java.base/share/classes/java/security/cert/CertPathBuilder.java
+++ b/jdk/src/java.base/share/classes/java/security/cert/CertPathBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -72,9 +72,9 @@ import sun.security.jca.GetInstance.Instance;
* {@code PKIX}
*
* This algorithm is described in the
+ * "{@docRoot}/../specs/security/standard-names.html#certpathbuilder-algorithms">
* CertPathBuilder section of the
- * Java Cryptography Architecture Standard Algorithm Name Documentation.
+ * Java Security Standard Algorithm Names Specification.
* Consult the release documentation for your implementation to see if any
* other algorithms are supported.
*
@@ -152,8 +152,8 @@ public class CertPathBuilder {
*
* @param algorithm the name of the requested {@code CertPathBuilder}
* algorithm. See the CertPathBuilder section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#certpathbuilder-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @return a {@code CertPathBuilder} object that implements the
@@ -190,8 +190,8 @@ public class CertPathBuilder {
*
* @param algorithm the name of the requested {@code CertPathBuilder}
* algorithm. See the CertPathBuilder section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#certpathbuilder-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the name of the provider.
@@ -233,8 +233,8 @@ public class CertPathBuilder {
*
* @param algorithm the name of the requested {@code CertPathBuilder}
* algorithm. See the CertPathBuilder section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#certpathbuilder-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the provider.
diff --git a/jdk/src/java.base/share/classes/java/security/cert/CertPathValidator.java b/jdk/src/java.base/share/classes/java/security/cert/CertPathValidator.java
index 298923d84a2..57efedd3348 100644
--- a/jdk/src/java.base/share/classes/java/security/cert/CertPathValidator.java
+++ b/jdk/src/java.base/share/classes/java/security/cert/CertPathValidator.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -74,9 +74,9 @@ import sun.security.jca.GetInstance.Instance;
* {@code PKIX}
*
* This algorithm is described in the
+ * "{@docRoot}/../specs/security/standard-names.html#certpathvalidator-algorithms">
* CertPathValidator section of the
- * Java Cryptography Architecture Standard Algorithm Name Documentation.
+ * Java Security Standard Algorithm Names Specification.
* Consult the release documentation for your implementation to see if any
* other algorithms are supported.
*
@@ -152,9 +152,9 @@ public class CertPathValidator {
* {@link Security#getProviders() Security.getProviders()}.
*
* @param algorithm the name of the requested {@code CertPathValidator}
- * algorithm. See the CertPathValidator section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * algorithm. See the CertPathValidator section in the
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @return a {@code CertPathValidator} object that implements the
@@ -190,9 +190,9 @@ public class CertPathValidator {
* the {@link Security#getProviders() Security.getProviders()} method.
*
* @param algorithm the name of the requested {@code CertPathValidator}
- * algorithm. See the CertPathValidator section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * algorithm. See the CertPathValidator section in the
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the name of the provider.
@@ -235,8 +235,8 @@ public class CertPathValidator {
*
* @param algorithm the name of the requested {@code CertPathValidator}
* algorithm. See the CertPathValidator section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#certpathvalidator-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
*
* @param provider the provider.
diff --git a/jdk/src/java.base/share/classes/java/security/cert/CertStore.java b/jdk/src/java.base/share/classes/java/security/cert/CertStore.java
index e62d39f27b0..0d7675c13af 100644
--- a/jdk/src/java.base/share/classes/java/security/cert/CertStore.java
+++ b/jdk/src/java.base/share/classes/java/security/cert/CertStore.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, 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
@@ -67,9 +67,9 @@ import sun.security.jca.GetInstance.Instance;
* {@code Collection}
*
* This type is described in the
+ * "{@docRoot}/../specs/security/standard-names.html#certstore-types">
* CertStore section of the
- * Java Cryptography Architecture Standard Algorithm Name Documentation.
+ * Java Security Standard Algorithm Names Specification.
* Consult the release documentation for your implementation to see if any
* other types are supported.
*
@@ -212,8 +212,8 @@ public class CertStore {
*
* @param type the name of the requested {@code CertStore} type.
* See the CertStore section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#certstore-types">
+ * Java Security Standard Algorithm Names Specification
* for information about standard types.
*
* @param params the initialization parameters (may be {@code null}).
@@ -276,8 +276,8 @@ public class CertStore {
*
* @param type the requested {@code CertStore} type.
* See the CertStore section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#certstore-types">
+ * Java Security Standard Algorithm Names Specification
* for information about standard types.
*
* @param params the initialization parameters (may be {@code null}).
@@ -337,8 +337,8 @@ public class CertStore {
*
* @param type the requested {@code CertStore} type.
* See the CertStore section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#certstore-types">
+ * Java Security Standard Algorithm Names Specification
* for information about standard types.
*
* @param params the initialization parameters (may be {@code null}).
diff --git a/jdk/src/java.base/share/classes/java/security/cert/Certificate.java b/jdk/src/java.base/share/classes/java/security/cert/Certificate.java
index 6923627ce7b..32662ceea15 100644
--- a/jdk/src/java.base/share/classes/java/security/cert/Certificate.java
+++ b/jdk/src/java.base/share/classes/java/security/cert/Certificate.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -74,8 +74,8 @@ public abstract class Certificate implements java.io.Serializable {
*
* @param type the standard name of the certificate type.
* See the CertificateFactory section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#certificatefactory-types">
+ * Java Security Standard Algorithm Names Specification
* for information about standard certificate types.
*/
protected Certificate(String type) {
diff --git a/jdk/src/java.base/share/classes/java/security/cert/CertificateFactory.java b/jdk/src/java.base/share/classes/java/security/cert/CertificateFactory.java
index e63c3b403d4..ae4e8bd05c4 100644
--- a/jdk/src/java.base/share/classes/java/security/cert/CertificateFactory.java
+++ b/jdk/src/java.base/share/classes/java/security/cert/CertificateFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2017, 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
@@ -101,11 +101,11 @@ import sun.security.jca.GetInstance.Instance;
* {@code PkiPath}
*
* The type and encodings are described in the
+ * "{@docRoot}/../specs/security/standard-names.html#certificatefactory-types">
* CertificateFactory section and the
+ * "{@docRoot}/../specs/security/standard-names.html#certpath-encodings">
* CertPath Encodings section of the
- * Java Cryptography Architecture Standard Algorithm Name Documentation.
+ * Java Security Standard Algorithm Names Specification.
* Consult the release documentation for your implementation to see if any
* other types or encodings are supported.
*
@@ -172,8 +172,8 @@ public class CertificateFactory {
*
* @param type the name of the requested certificate type.
* See the CertificateFactory section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#certificatefactory-types">
+ * Java Security Standard Algorithm Names Specification
* for information about standard certificate types.
*
* @return a certificate factory object for the specified type
@@ -213,8 +213,8 @@ public class CertificateFactory {
*
* @param type the certificate type.
* See the CertificateFactory section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#certificatefactory-types">
+ * Java Security Standard Algorithm Names Specification
* for information about standard certificate types.
*
* @param provider the name of the provider.
@@ -260,8 +260,8 @@ public class CertificateFactory {
*
* @param type the certificate type.
* See the CertificateFactory section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#certificatefactory-types">
+ * Java Security Standard Algorithm Names Specification
* for information about standard certificate types.
* @param provider the provider.
*
@@ -359,8 +359,8 @@ public class CertificateFactory {
* Returns an iteration of the {@code CertPath} encodings supported
* by this certificate factory, with the default encoding first. See
* the CertPath Encodings section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#certpath-encodings">
+ * Java Security Standard Algorithm Names Specification
* for information about standard encoding names and their formats.
*
* Attempts to modify the returned {@code Iterator} via its
@@ -399,8 +399,8 @@ public class CertificateFactory {
* the data read from the {@code InputStream} inStream. The data
* is assumed to be in the specified encoding. See
* the CertPath Encodings section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#certpath-encodings">
+ * Java Security Standard Algorithm Names Specification
* for information about standard encoding names and their formats.
*
* @param inStream an {@code InputStream} containing the data
diff --git a/jdk/src/java.base/share/classes/java/security/cert/CertificateFactorySpi.java b/jdk/src/java.base/share/classes/java/security/cert/CertificateFactorySpi.java
index 35aee847bb8..0b1bb337b3f 100644
--- a/jdk/src/java.base/share/classes/java/security/cert/CertificateFactorySpi.java
+++ b/jdk/src/java.base/share/classes/java/security/cert/CertificateFactorySpi.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2017, 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
@@ -183,8 +183,8 @@ public abstract class CertificateFactorySpi {
* Returns an iteration of the {@code CertPath} encodings supported
* by this certificate factory, with the default encoding first. See
* the CertPath Encodings section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#certpath-encodings">
+ * Java Security Standard Algorithm Names Specification
* for information about standard encoding names.
*
* Attempts to modify the returned {@code Iterator} via its
diff --git a/jdk/src/java.base/share/classes/java/security/cert/X509Extension.java b/jdk/src/java.base/share/classes/java/security/cert/X509Extension.java
index 03469606eed..9a988f4dc93 100644
--- a/jdk/src/java.base/share/classes/java/security/cert/X509Extension.java
+++ b/jdk/src/java.base/share/classes/java/security/cert/X509Extension.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -152,10 +152,14 @@ public interface X509Extension {
* by periods.
*
* For example:
- *
+ *
+ * Examples of OIDs and extension names
+ *
*
* | OID (Object Identifier) |
* Extension Name |
+ *
+ *
* | 2.5.29.14 |
* SubjectKeyIdentifier |
* | 2.5.29.15 |
@@ -176,6 +180,7 @@ public interface X509Extension {
* AuthorityKeyIdentifier |
* | 2.5.29.36 |
* PolicyConstraints |
+ *
*
*
* @param oid the Object Identifier value for the extension.
diff --git a/jdk/src/java.base/share/classes/java/security/cert/package-info.java b/jdk/src/java.base/share/classes/java/security/cert/package-info.java
index 58f5fb77e0a..50b0f2c9672 100644
--- a/jdk/src/java.base/share/classes/java/security/cert/package-info.java
+++ b/jdk/src/java.base/share/classes/java/security/cert/package-info.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2017, 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
@@ -39,10 +39,9 @@
* Certificate Revocation List (CRL) Profile
* RFC 2560: X.509 Internet Public Key Infrastructure Online Certificate
* Status Protocol - OCSP
- *
- * Java™
- * Cryptography Architecture Standard Algorithm Name
- * Documentation
+ *
+ * Java™ Security Standard Algorithm Names Specification
+ *
*
*
* Related Documentation
diff --git a/jdk/src/java.base/share/classes/java/security/package-info.java b/jdk/src/java.base/share/classes/java/security/package-info.java
index 2c8205b09b9..edb91899da8 100644
--- a/jdk/src/java.base/share/classes/java/security/package-info.java
+++ b/jdk/src/java.base/share/classes/java/security/package-info.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2017, 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
@@ -53,10 +53,9 @@
* PKCS #8: Private-Key Information Syntax Standard, Version 1.2,
* November 1993
*
- *
- * Java™
- * Cryptography Architecture Standard Algorithm Name
- * Documentation
+ *
+ * Java™ Security Standard Algorithm Names Specification
+ *
*
*
* Related Documentation
diff --git a/jdk/src/java.base/share/classes/java/security/spec/EncodedKeySpec.java b/jdk/src/java.base/share/classes/java/security/spec/EncodedKeySpec.java
index 5aca225d2b2..99b5a04655a 100644
--- a/jdk/src/java.base/share/classes/java/security/spec/EncodedKeySpec.java
+++ b/jdk/src/java.base/share/classes/java/security/spec/EncodedKeySpec.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -67,8 +67,8 @@ public abstract class EncodedKeySpec implements KeySpec {
* array are copied to protect against subsequent modification.
* @param algorithm the algorithm name of the encoded key
* See the KeyFactory section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#keyfactory-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
* @throws NullPointerException if {@code encodedKey}
* or {@code algorithm} is null.
diff --git a/jdk/src/java.base/share/classes/java/security/spec/PKCS8EncodedKeySpec.java b/jdk/src/java.base/share/classes/java/security/spec/PKCS8EncodedKeySpec.java
index 198ca604b8c..73d79a41321 100644
--- a/jdk/src/java.base/share/classes/java/security/spec/PKCS8EncodedKeySpec.java
+++ b/jdk/src/java.base/share/classes/java/security/spec/PKCS8EncodedKeySpec.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -85,8 +85,8 @@ public class PKCS8EncodedKeySpec extends EncodedKeySpec {
* the array are copied to protect against subsequent modification.
* @param algorithm the algorithm name of the encoded private key
* See the KeyFactory section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#keyfactory-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
* @throws NullPointerException if {@code encodedKey}
* or {@code algorithm} is null.
diff --git a/jdk/src/java.base/share/classes/java/security/spec/X509EncodedKeySpec.java b/jdk/src/java.base/share/classes/java/security/spec/X509EncodedKeySpec.java
index 2d23570fe3d..7de4a2a1417 100644
--- a/jdk/src/java.base/share/classes/java/security/spec/X509EncodedKeySpec.java
+++ b/jdk/src/java.base/share/classes/java/security/spec/X509EncodedKeySpec.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -75,8 +75,8 @@ public class X509EncodedKeySpec extends EncodedKeySpec {
* array are copied to protect against subsequent modification.
* @param algorithm the algorithm name of the encoded public key
* See the KeyFactory section in the
- * Java Cryptography Architecture Standard Algorithm Name Documentation
+ * "{@docRoot}/../specs/security/standard-names.html#keyfactory-algorithms">
+ * Java Security Standard Algorithm Names Specification
* for information about standard algorithm names.
* @throws NullPointerException if {@code encodedKey}
* or {@code algorithm} is null.
diff --git a/jdk/src/java.base/share/classes/java/text/DecimalFormat.java b/jdk/src/java.base/share/classes/java/text/DecimalFormat.java
index 4484654afbd..eb5107cdea4 100644
--- a/jdk/src/java.base/share/classes/java/text/DecimalFormat.java
+++ b/jdk/src/java.base/share/classes/java/text/DecimalFormat.java
@@ -172,19 +172,22 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter;
* are not localized.
*
*
- *
- *
+ *
+ * Chart showing symbol, location, localized, and meaning.
+ *
+ *
* | Symbol
* | Location
* | Localized?
* | Meaning
+ * |
+ *
*
* 0
* | Number
* | Yes
* | Digit
- * |
+ *
* #
* | Number
* | Yes
@@ -194,7 +197,7 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter;
* | Number
* | Yes
* | Decimal separator or monetary decimal separator
- * |
+ *
* -
* | Number
* | Yes
@@ -204,7 +207,7 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter;
* | Number
* | Yes
* | Grouping separator
- * |
+ *
* E
* | Number
* | Yes
@@ -215,7 +218,7 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter;
* | Subpattern boundary
* | Yes
* | Separates positive and negative subpatterns
- * |
+ *
* %
* | Prefix or suffix
* | Yes
@@ -225,7 +228,7 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter;
* | Prefix or suffix
* | Yes
* | Multiply by 1000 and show as per mille value
- * |
+ *
* ¤ (\u00A4)
* | Prefix or suffix
* | No
@@ -241,6 +244,7 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter;
* for example, "'#'#" formats 123 to
* "#123". To create a single quote
* itself, use two in a row: "# o''clock".
+ * |
*
*
*
diff --git a/jdk/src/java.base/share/classes/java/text/MessageFormat.java b/jdk/src/java.base/share/classes/java/text/MessageFormat.java
index 951e81f6473..1275f3cc33a 100644
--- a/jdk/src/java.base/share/classes/java/text/MessageFormat.java
+++ b/jdk/src/java.base/share/classes/java/text/MessageFormat.java
@@ -146,11 +146,15 @@ import java.util.Locale;
* shown in the table are illegal. A SubformatPattern must
* be a valid pattern string for the {@code Format} subclass used.
*
- *
+ *
+ * Shows how FormatType and FormatStyle values map to Format instances
+ *
*
* | FormatType
* | FormatStyle
* | Subformat Created
+ * |
+ *
*
* | (none)
* | (none)
@@ -213,6 +217,7 @@ import java.util.Locale;
* | choice
* | SubformatPattern
* | {@code new} {@link ChoiceFormat#ChoiceFormat(String) ChoiceFormat}{@code (subformatPattern)}
+ * |
*
*
* Usage Information
@@ -766,11 +771,15 @@ public class MessageFormat extends Format {
* argument is unavailable if arguments is
* null or has fewer than argumentIndex+1 elements.
*
- *
+ *
+ * Examples of subformat,argument,and formatted text
+ *
*
* | Subformat
* | Argument
* | Formatted Text
+ * |
+ *
*
* | any
* | unavailable
@@ -805,6 +814,7 @@ public class MessageFormat extends Format {
* | null
* | any
* | argument.toString()
+ * |
*
*
* If pos is non-null, and refers to
diff --git a/jdk/src/java.base/share/classes/java/text/SimpleDateFormat.java b/jdk/src/java.base/share/classes/java/text/SimpleDateFormat.java
index 58cf6930679..70987ad99df 100644
--- a/jdk/src/java.base/share/classes/java/text/SimpleDateFormat.java
+++ b/jdk/src/java.base/share/classes/java/text/SimpleDateFormat.java
@@ -92,18 +92,22 @@ import sun.util.locale.provider.LocaleProviderAdapter;
* 'A' to 'Z' and from 'a' to
* 'z' are reserved):
*
- *
- *
+ *
+ * Chart shows pattern letters, date/time component, presentation, and examples.
+ *
+ *
* | Letter
* | Date or Time Component
* | Presentation
* | Examples
+ * |
+ *
*
* G
* | Era designator
* | Text
* | AD
- * |
+ *
* y
* | Year
* | Year
@@ -113,7 +117,7 @@ import sun.util.locale.provider.LocaleProviderAdapter;
* | Week year
* | Year
* | 2009; 09
- * |
+ *
* M
* | Month in year (context sensitive)
* | Month
@@ -123,7 +127,7 @@ import sun.util.locale.provider.LocaleProviderAdapter;
* | Month in year (standalone form)
* | Month
* | July; Jul; 07
- * |
+ *
* w
* | Week in year
* | Number
@@ -133,7 +137,7 @@ import sun.util.locale.provider.LocaleProviderAdapter;
* | Week in month
* | Number
* | 2
- * |
+ *
* D
* | Day in year
* | Number
@@ -143,7 +147,7 @@ import sun.util.locale.provider.LocaleProviderAdapter;
* | Day in month
* | Number
* | 10
- * |
+ *
* F
* | Day of week in month
* | Number
@@ -153,7 +157,7 @@ import sun.util.locale.provider.LocaleProviderAdapter;
* | Day name in week
* | Text
* | Tuesday; Tue
- * |
+ *
* u
* | Day number of week (1 = Monday, ..., 7 = Sunday)
* | Number
@@ -163,7 +167,7 @@ import sun.util.locale.provider.LocaleProviderAdapter;
* | Am/pm marker
* | Text
* | PM
- * |
+ *
* H
* | Hour in day (0-23)
* | Number
@@ -173,7 +177,7 @@ import sun.util.locale.provider.LocaleProviderAdapter;
* | Hour in day (1-24)
* | Number
* | 24
- * |
+ *
* K
* | Hour in am/pm (0-11)
* | Number
@@ -183,7 +187,7 @@ import sun.util.locale.provider.LocaleProviderAdapter;
* | Hour in am/pm (1-12)
* | Number
* | 12
- * |
+ *
* m
* | Minute in hour
* | Number
@@ -193,7 +197,7 @@ import sun.util.locale.provider.LocaleProviderAdapter;
* | Second in minute
* | Number
* | 55
- * |
+ *
* S
* | Millisecond
* | Number
@@ -203,7 +207,7 @@ import sun.util.locale.provider.LocaleProviderAdapter;
* | Time zone
* | General time zone
* | Pacific Standard Time; PST; GMT-08:00
- * |
+ *
* Z
* | Time zone
* | RFC 822 time zone
@@ -213,6 +217,7 @@ import sun.util.locale.provider.LocaleProviderAdapter;
* | Time zone
* | ISO 8601 time zone
* | -08; -0800; -08:00
+ * |
*
*
* Pattern letters are usually repeated, as their number determines the
@@ -370,43 +375,48 @@ import sun.util.locale.provider.LocaleProviderAdapter;
* the U.S. locale. The given date and time are 2001-07-04 12:08:56 local time
* in the U.S. Pacific Time time zone.
*
- *
- *
+ *
+ * Examples of date and time patterns interpreted in the U.S. locale
+ *
+ *
* | Date and Time Pattern
* | Result
+ * |
+ *
*
* "yyyy.MM.dd G 'at' HH:mm:ss z"
* | 2001.07.04 AD at 12:08:56 PDT
- * |
+ *
* "EEE, MMM d, ''yy"
* | Wed, Jul 4, '01
* |
* "h:mm a"
* | 12:08 PM
- * |
+ *
* "hh 'o''clock' a, zzzz"
* | 12 o'clock PM, Pacific Daylight Time
* |
* "K:mm a, z"
* | 0:08 PM, PDT
- * |
+ *
* "yyyyy.MMMMM.dd GGG hh:mm aaa"
* | 02001.July.04 AD 12:08 PM
* |
* "EEE, d MMM yyyy HH:mm:ss Z"
* | Wed, 4 Jul 2001 12:08:56 -0700
- * |
+ *
* "yyMMddHHmmssZ"
* | 010704120856-0700
* |
* "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
* | 2001-07-04T12:08:56.235-0700
- * |
+ *
* "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"
* | 2001-07-04T12:08:56.235-07:00
* |
* "YYYY-'W'ww-u"
* | 2001-W27-3
+ * |
*
*
*
diff --git a/jdk/src/java.base/share/classes/java/time/chrono/HijrahChronology.java b/jdk/src/java.base/share/classes/java/time/chrono/HijrahChronology.java
index 4dedfe3a247..0ec1b591bc2 100644
--- a/jdk/src/java.base/share/classes/java/time/chrono/HijrahChronology.java
+++ b/jdk/src/java.base/share/classes/java/time/chrono/HijrahChronology.java
@@ -103,17 +103,18 @@ import sun.util.logging.PlatformLogger;
*
*
* CLDR and LDML identify variants:
- *
+ *
+ * Variants of Hijrah Calendars
*
- *
- * | Chronology ID |
- * Calendar Type |
- * Locale extension, see {@link java.util.Locale} |
- * Description |
+ *
+ * | Chronology ID |
+ * Calendar Type |
+ * Locale extension, see {@link java.util.Locale} |
+ * Description |
*
*
*
- *
+ *
* | Hijrah-umalqura |
* islamic-umalqura |
* ca-islamic-umalqura |
@@ -147,36 +148,37 @@ import sun.util.logging.PlatformLogger;
*
* The Hijrah property resource is a set of properties that describe the calendar.
* The syntax is defined by {@code java.util.Properties#load(Reader)}.
- *
+ *
+ * Configuration of Hijrah Calendar
*
- *
- * | Property Name |
- * Property value |
- * Description |
+ *
+ * | Property Name |
+ * Property value |
+ * Description |
*
*
*
- *
+ *
* | id |
* Chronology Id, for example, "Hijrah-umalqura" |
* The Id of the calendar in common usage |
*
- *
+ *
* | type |
* Calendar type, for example, "islamic-umalqura" |
* LDML defines the calendar types |
*
- *
+ *
* | version |
* Version, for example: "1.8.0_1" |
* The version of the Hijrah variant data |
*
- *
+ *
* | iso-start |
* ISO start date, formatted as {@code yyyy-MM-dd}, for example: "1900-04-30" |
* The ISO date of the first day of the minimum Hijrah year. |
*
- *
+ *
* | yyyy - a numeric 4 digit year, for example "1434" |
* The value is a sequence of 12 month lengths,
* for example: "29 30 29 30 29 30 30 30 29 30 29 29" |
diff --git a/jdk/src/java.base/share/classes/java/time/chrono/IsoEra.java b/jdk/src/java.base/share/classes/java/time/chrono/IsoEra.java
index b376789bfe2..702fabdf920 100644
--- a/jdk/src/java.base/share/classes/java/time/chrono/IsoEra.java
+++ b/jdk/src/java.base/share/classes/java/time/chrono/IsoEra.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2017, 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
@@ -70,25 +70,26 @@ import java.time.DateTimeException;
* A definition has therefore been created with two eras - 'Current era' (CE) for
* years on or after 0001-01-01 (ISO), and 'Before current era' (BCE) for years before that.
*
- *
+ *
+ * ISO years and eras
*
- *
- * | year-of-era |
- * era |
- * proleptic-year |
+ *
+ * | year-of-era |
+ * era |
+ * proleptic-year |
*
*
*
- *
+ *
* | 2 | CE | 2 |
*
- *
+ *
* | 1 | CE | 1 |
*
- *
+ *
* | 1 | BCE | 0 |
*
- *
+ *
* | 2 | BCE | -1 |
*
*
diff --git a/jdk/src/java.base/share/classes/java/time/chrono/MinguoEra.java b/jdk/src/java.base/share/classes/java/time/chrono/MinguoEra.java
index a8a42a7cb58..edac0ec02e7 100644
--- a/jdk/src/java.base/share/classes/java/time/chrono/MinguoEra.java
+++ b/jdk/src/java.base/share/classes/java/time/chrono/MinguoEra.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2017, 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
@@ -71,26 +71,27 @@ import java.time.DateTimeException;
* All previous years, zero or earlier in the proleptic count or one and greater
* in the year-of-era count, are part of the 'Before Republic of China' era.
*
- *
+ *
+ * Minguo years and eras
*
- *
- * | year-of-era |
- * era |
- * proleptic-year |
- * ISO proleptic-year |
+ *
+ * | year-of-era |
+ * era |
+ * proleptic-year |
+ * ISO proleptic-year |
*
*
*
- *
+ *
* | 2 | ROC | 2 | 1913 |
*
- *
+ *
* | 1 | ROC | 1 | 1912 |
*
- *
+ *
* | 1 | BEFORE_ROC | 0 | 1911 |
*
- *
+ *
* | 2 | BEFORE_ROC | -1 | 1910 |
*
*
diff --git a/jdk/src/java.base/share/classes/java/time/chrono/ThaiBuddhistEra.java b/jdk/src/java.base/share/classes/java/time/chrono/ThaiBuddhistEra.java
index 5bc2cda8b3f..53cb5d870be 100644
--- a/jdk/src/java.base/share/classes/java/time/chrono/ThaiBuddhistEra.java
+++ b/jdk/src/java.base/share/classes/java/time/chrono/ThaiBuddhistEra.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2017, 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
@@ -71,26 +71,27 @@ import java.time.DateTimeException;
* All previous years, zero or earlier in the proleptic count or one and greater
* in the year-of-era count, are part of the 'Before Buddhist' era.
*
- *
+ *
+ * Buddhist years and eras
*
- *
- * | year-of-era |
- * era |
- * proleptic-year |
- * ISO proleptic-year |
+ *
+ * | year-of-era |
+ * era |
+ * proleptic-year |
+ * ISO proleptic-year |
*
*
*
- *
+ *
* | 2 | BE | 2 | -542 |
*
- *
+ *
* | 1 | BE | 1 | -543 |
*
- *
+ *
* | 1 | BEFORE_BE | 0 | -544 |
*
- *
+ *
* | 2 | BEFORE_BE | -1 | -545 |
*
*
diff --git a/jdk/src/java.base/share/classes/java/time/format/DateTimeFormatter.java b/jdk/src/java.base/share/classes/java/time/format/DateTimeFormatter.java
index 6b0559b21ad..cda0f8abb48 100644
--- a/jdk/src/java.base/share/classes/java/time/format/DateTimeFormatter.java
+++ b/jdk/src/java.base/share/classes/java/time/format/DateTimeFormatter.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2017, 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
@@ -150,105 +150,106 @@ import java.util.Set;
* implementation of {@code java.text.Format}.
*
* Predefined Formatters
- *
+ *
+ * Predefined Formatters
*
- *
- * | Formatter |
- * Description |
- * Example |
+ *
+ * | Formatter |
+ * Description |
+ * Example |
*
*
*
- *
+ *
* | {@link #ofLocalizedDate ofLocalizedDate(dateStyle)} |
* Formatter with date style from the locale |
* '2011-12-03' |
*
- *
+ *
* | {@link #ofLocalizedTime ofLocalizedTime(timeStyle)} |
* Formatter with time style from the locale |
* '10:15:30' |
*
- *
+ *
* | {@link #ofLocalizedDateTime ofLocalizedDateTime(dateTimeStyle)} |
* Formatter with a style for date and time from the locale |
* '3 Jun 2008 11:05:30' |
*
- *
+ *
* | {@link #ofLocalizedDateTime ofLocalizedDateTime(dateStyle,timeStyle)}
* |
* Formatter with date and time styles from the locale |
* '3 Jun 2008 11:05' |
*
- *
+ *
* | {@link #BASIC_ISO_DATE} |
* Basic ISO date | '20111203' |
*
- *
+ *
* | {@link #ISO_LOCAL_DATE} |
* ISO Local Date |
* '2011-12-03' |
*
- *
+ *
* | {@link #ISO_OFFSET_DATE} |
* ISO Date with offset |
* '2011-12-03+01:00' |
*
- *
+ *
* | {@link #ISO_DATE} |
* ISO Date with or without offset |
* '2011-12-03+01:00'; '2011-12-03' |
*
- *
+ *
* | {@link #ISO_LOCAL_TIME} |
* Time without offset |
* '10:15:30' |
*
- *
+ *
* | {@link #ISO_OFFSET_TIME} |
* Time with offset |
* '10:15:30+01:00' |
*
- *
+ *
* | {@link #ISO_TIME} |
* Time with or without offset |
* '10:15:30+01:00'; '10:15:30' |
*
- *
+ *
* | {@link #ISO_LOCAL_DATE_TIME} |
* ISO Local Date and Time |
* '2011-12-03T10:15:30' |
*
- *
+ *
* | {@link #ISO_OFFSET_DATE_TIME} |
* Date Time with Offset
* | 2011-12-03T10:15:30+01:00' |
*
- *
+ *
* | {@link #ISO_ZONED_DATE_TIME} |
* Zoned Date Time |
* '2011-12-03T10:15:30+01:00[Europe/Paris]' |
*
- *
+ *
* | {@link #ISO_DATE_TIME} |
* Date and time with ZoneId |
* '2011-12-03T10:15:30+01:00[Europe/Paris]' |
*
- *
+ *
* | {@link #ISO_ORDINAL_DATE} |
* Year and day of year |
* '2012-337' |
*
- *
+ *
* | {@link #ISO_WEEK_DATE} |
* Year and Week |
* 2012-W48-6' |
- *
+ *
* | {@link #ISO_INSTANT} |
* Date and Time of an Instant |
* '2011-12-03T10:15:30Z' |
*
- *
+ *
* | {@link #RFC_1123_DATE_TIME} |
* RFC 1123 / RFC 822 |
* 'Tue, 3 Jun 2008 11:05:30 GMT' |
diff --git a/jdk/src/java.base/share/classes/java/time/temporal/IsoFields.java b/jdk/src/java.base/share/classes/java/time/temporal/IsoFields.java
index 26e7e168446..9740a9defc0 100644
--- a/jdk/src/java.base/share/classes/java/time/temporal/IsoFields.java
+++ b/jdk/src/java.base/share/classes/java/time/temporal/IsoFields.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2017, 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
@@ -136,15 +136,19 @@ import sun.util.locale.provider.LocaleResources;
*
* For example:
*
- *
+ *
* Examples of Week based Years
+ *
* | Date | Day-of-week | Field values |
+ *
+ *
* | 2008-12-28 | Sunday | Week 52 of week-based-year 2008 |
* | 2008-12-29 | Monday | Week 1 of week-based-year 2009 |
* | 2008-12-31 | Wednesday | Week 1 of week-based-year 2009 |
* | 2009-01-01 | Thursday | Week 1 of week-based-year 2009 |
* | 2009-01-04 | Sunday | Week 1 of week-based-year 2009 |
* | 2009-01-05 | Monday | Week 2 of week-based-year 2009 |
+ *
*
*
* @implSpec
diff --git a/jdk/src/java.base/share/classes/java/time/temporal/WeekFields.java b/jdk/src/java.base/share/classes/java/time/temporal/WeekFields.java
index faee176d3e7..2f13368d28f 100644
--- a/jdk/src/java.base/share/classes/java/time/temporal/WeekFields.java
+++ b/jdk/src/java.base/share/classes/java/time/temporal/WeekFields.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2017, 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
@@ -127,10 +127,13 @@ import sun.util.locale.provider.LocaleResources;
* The earliest period is referred to as week 0 if it has less than the minimal number of days
* and week 1 if it has at least the minimal number of days.
*
- *
+ *
* Examples of WeekFields
+ *
* | Date | Day-of-week |
* First day: Monday Minimal days: 4 | First day: Monday Minimal days: 5 |
+ *
+ *
* | 2008-12-31 | Wednesday |
* Week 5 of December 2008 | Week 5 of December 2008 |
* | 2009-01-01 | Thursday |
@@ -139,6 +142,7 @@ import sun.util.locale.provider.LocaleResources;
* Week 1 of January 2009 | Week 0 of January 2009 |
* | 2009-01-05 | Monday |
* Week 2 of January 2009 | Week 1 of January 2009 |
+ *
*
*
* Week of Year
@@ -157,10 +161,13 @@ import sun.util.locale.provider.LocaleResources;
* The first and last weeks of a year may contain days from the
* previous calendar year or next calendar year respectively.
*
- *
+ *
* Examples of WeekFields for week-based-year
+ *
* | Date | Day-of-week |
* First day: Monday Minimal days: 4 | First day: Monday Minimal days: 5 |
+ *
+ *
* | 2008-12-31 | Wednesday |
* Week 1 of 2009 | Week 53 of 2008 |
* | 2009-01-01 | Thursday |
@@ -169,6 +176,7 @@ import sun.util.locale.provider.LocaleResources;
* Week 1 of 2009 | Week 53 of 2008 |
* | 2009-01-05 | Monday |
* Week 2 of 2009 | Week 1 of 2009 |
+ *
*
*
* @implSpec
diff --git a/jdk/src/java.base/share/classes/java/util/Deque.java b/jdk/src/java.base/share/classes/java/util/Deque.java
index 9ea576886e1..48eaa3eb28b 100644
--- a/jdk/src/java.base/share/classes/java/util/Deque.java
+++ b/jdk/src/java.base/share/classes/java/util/Deque.java
@@ -56,7 +56,7 @@ package java.util;
* The twelve methods described above are summarized in the
* following table:
*
- *
+ *
* Summary of Deque methods
*
* |
@@ -99,7 +99,7 @@ package java.util;
* inherited from the {@code Queue} interface are precisely equivalent to
* {@code Deque} methods as indicated in the following table:
*
- *
+ *
* Comparison of Queue and Deque methods
*
* | {@code Queue} Method |
@@ -137,7 +137,7 @@ package java.util;
* beginning of the deque. Stack methods are precisely equivalent to
* {@code Deque} methods as indicated in the table below:
*
- *
+ *
* Comparison of Stack and Deque methods
*
* | Stack Method |
diff --git a/jdk/src/java.base/share/classes/java/util/Formatter.java b/jdk/src/java.base/share/classes/java/util/Formatter.java
index f2609764a51..39c23af20ff 100644
--- a/jdk/src/java.base/share/classes/java/util/Formatter.java
+++ b/jdk/src/java.base/share/classes/java/util/Formatter.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2017, 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
@@ -290,12 +290,14 @@ import jdk.internal.math.FormattedFloatingDecimal;
*
* out.toUpperCase(Locale.getDefault(Locale.Category.FORMAT))
*
- *
- *
+ *
+ * genConv
+ *
* | Conversion
* | Argument Category
* | Description
- *
+ * |
+ *
* | {@code 'b'}, {@code 'B'}
* | general
* | If the argument arg is {@code null}, then the result is
@@ -365,6 +367,7 @@ import jdk.internal.math.FormattedFloatingDecimal;
* | line separator
* | The result is the platform-specific line separator
*
+ * |
*
*
* Any characters not explicitly defined as conversions are illegal and are
@@ -381,8 +384,9 @@ import jdk.internal.math.FormattedFloatingDecimal;
*
* The following conversion characters are used for formatting times:
*
- *
- *
+ *
+ * time
+ *
* | {@code 'H'}
* | Hour of the day for the 24-hour clock, formatted as two digits with
* a leading zero as necessary i.e. {@code 00 - 23}.
@@ -446,11 +450,14 @@ import jdk.internal.math.FormattedFloatingDecimal;
* 1970 {@code 00:00:00} UTC, i.e. {@code Long.MIN_VALUE} to
* {@code Long.MAX_VALUE}.
*
+ * |
*
*
* The following conversion characters are used for formatting dates:
*
- *
+ *
+ * date
+ *
*
* | {@code 'B'}
* | Locale-specific {@linkplain java.text.DateFormatSymbols#getMonths
@@ -502,12 +509,15 @@ import jdk.internal.math.FormattedFloatingDecimal;
* | | {@code 'e'}
* | Day of month, formatted as two digits, i.e. {@code 1 - 31}.
*
+ * |
*
*
* The following conversion characters are used for formatting common
* date/time compositions.
*
- *
+ *
+ * composites
+ *
*
* | {@code 'R'}
* | Time formatted for the 24-hour clock as {@code "%tH:%tM"}
@@ -531,6 +541,7 @@ import jdk.internal.math.FormattedFloatingDecimal;
* | Date and time formatted as {@code "%ta %tb %td %tT %tZ %tY"},
* e.g. {@code "Sun Jul 20 16:17:00 EDT 1969"}.
*
+ * |
*
*
* Any characters not explicitly defined as date/time conversion suffixes
@@ -541,14 +552,16 @@ import jdk.internal.math.FormattedFloatingDecimal;
* The following table summarizes the supported flags. y means the
* flag is supported for the indicated argument types.
*
- *
- *
+ *
+ * genConv
+ *
* | Flag | General
* | Character | Integral
* | Floating Point
* | Date/Time
* | Description
- *
+ * |
+ *
* | '-' | y
* | y
* | y
@@ -599,6 +612,7 @@ import jdk.internal.math.FormattedFloatingDecimal;
* | -
* | The result will enclose negative numbers in parentheses
*
+ * |
*
*
* 1 Depends on the definition of {@link Formattable}.
@@ -705,7 +719,9 @@ import jdk.internal.math.FormattedFloatingDecimal;
*
* The following general conversions may be applied to any argument type:
*
- *
+ *
+ * dgConv
+ *
*
* | {@code 'b'}
* | '\u0062'
@@ -756,11 +772,14 @@ import jdk.internal.math.FormattedFloatingDecimal;
* | '\u0053'
* | The upper-case variant of {@code 's'}.
*
+ * |
*
*
* The following flags apply to general conversions:
*
- *
+ *
+ * dFlags
+ *
*
* | {@code '-'}
* | '\u002d'
@@ -775,6 +794,7 @@ import jdk.internal.math.FormattedFloatingDecimal;
* | Requires the output use an alternate form. The definition of the
* form is specified by the conversion.
*
+ * |
*
*
* The width is the minimum number of characters to
@@ -801,7 +821,9 @@ import jdk.internal.math.FormattedFloatingDecimal;
* {@code false} then an {@link IllegalFormatCodePointException} will be
* thrown.
*
- *
+ *
+ * charConv
+ *
*
* | {@code 'c'}
* | '\u0063'
@@ -817,6 +839,7 @@ import jdk.internal.math.FormattedFloatingDecimal;
* | '\u0043'
* | The upper-case variant of {@code 'c'}.
*
+ * |
*
*
* The {@code '-'} flag defined for General
@@ -902,7 +925,9 @@ import jdk.internal.math.FormattedFloatingDecimal;
* {@code short}, {@link Short}, {@code int} and {@link Integer},
* {@code long}, and {@link Long}.
*
- *
+ *
+ * IntConv
+ *
*
* | {@code 'd'}
* | '\u0064'
@@ -968,6 +993,7 @@ import jdk.internal.math.FormattedFloatingDecimal;
* all hexadecimal digits {@code 'a'} - {@code 'f'}
* ('\u0061' - '\u0066').
*
+ * |
*
*
* If the conversion is {@code 'o'}, {@code 'x'}, or {@code 'X'} and
@@ -982,7 +1008,9 @@ import jdk.internal.math.FormattedFloatingDecimal;
* The following flags apply to numeric integral
* conversions:
*
- *
+ *
+ * intFlags
+ *
*
* | {@code '+'}
* | '\u002b'
@@ -1025,6 +1053,7 @@ import jdk.internal.math.FormattedFloatingDecimal;
* ('\u0028') and append a {@code ')'}
* ('\u0029') to negative values.
*
+ * |
*
*
* If no flags are given the default formatting is
@@ -1060,7 +1089,9 @@ import jdk.internal.math.FormattedFloatingDecimal;
* The following conversions may be applied to {@link
* java.math.BigInteger}.
*
- *
+ *
+ * bIntConv
+ *
*
* | {@code 'd'}
* | '\u0064'
@@ -1125,6 +1156,7 @@ import jdk.internal.math.FormattedFloatingDecimal;
* all hexadecimal digits {@code 'a'} - {@code 'f'}
* ('\u0061' - '\u0066').
*
+ * |
*
*
* If the conversion is {@code 'o'}, {@code 'x'}, or {@code 'X'} and
@@ -1154,7 +1186,9 @@ import jdk.internal.math.FormattedFloatingDecimal;
* The following conversions may be applied to {@code float}, {@link
* Float}, {@code double} and {@link Double}.
*
- *
+ *
+ * floatConv
+ *
*
* | {@code 'e'}
* | '\u0065'
@@ -1331,6 +1365,7 @@ import jdk.internal.math.FormattedFloatingDecimal;
* ('\u0070' and all hexadecimal digits {@code 'a'} -
* {@code 'f'} ('\u0061' - '\u0066').
*
+ * |
*
*
* All flags defined for Byte, Short, Integer, and
@@ -1388,7 +1423,9 @@ import jdk.internal.math.FormattedFloatingDecimal;
* The following conversions may be applied {@link java.math.BigDecimal
* BigDecimal}.
*
- *
+ *
+ * floatConv
+ *
*
* | {@code 'e'}
* | '\u0065'
@@ -1492,6 +1529,7 @@ import jdk.internal.math.FormattedFloatingDecimal;
* For a canonical representation of the value, use {@link
* BigDecimal#toString()}.
*
+ * |
*
*
* All flags defined for Byte, Short, Integer, and
@@ -1512,7 +1550,9 @@ import jdk.internal.math.FormattedFloatingDecimal;
* This conversion may be applied to {@code long}, {@link Long}, {@link
* Calendar}, {@link Date} and {@link TemporalAccessor TemporalAccessor}
*
- *
+ *
+ * DTConv
+ *
*
* | {@code 't'}
* | '\u0074'
@@ -1521,6 +1561,7 @@ import jdk.internal.math.FormattedFloatingDecimal;
* | '\u0054'
* | The upper-case variant of {@code 't'}.
*
+ * |
*
*
* The following date and time conversion character suffixes are defined
@@ -1532,7 +1573,9 @@ import jdk.internal.math.FormattedFloatingDecimal;
*
* The following conversion characters are used for formatting times:
*
- *
+ *
+ * time
+ *
*
* | {@code 'H'}
* | '\u0048'
@@ -1620,11 +1663,14 @@ import jdk.internal.math.FormattedFloatingDecimal;
* {@code Long.MAX_VALUE}. The precision of this value is limited by
* the resolution of the underlying operating system or hardware.
*
+ * |
*
*
* The following conversion characters are used for formatting dates:
*
- *
+ *
+ * date
+ *
*
* | {@code 'B'}
* | '\u0042'
@@ -1692,12 +1738,15 @@ import jdk.internal.math.FormattedFloatingDecimal;
* | Day of month, formatted as two digits, i.e. {@code 1 - 31} where
* "{@code 1}" is the first day of the month.
*
+ * |
*
*
* The following conversion characters are used for formatting common
* date/time compositions.
*
- *
+ *
+ * composites
+ *
*
* | {@code 'R'}
* | '\u0052'
@@ -1727,6 +1776,7 @@ import jdk.internal.math.FormattedFloatingDecimal;
* | Date and time formatted as {@code "%ta %tb %td %tT %tZ %tY"},
* e.g. {@code "Sun Jul 20 16:17:00 EDT 1969"}.
*
+ * |
*
*
* The {@code '-'} flag defined for General
@@ -1748,7 +1798,9 @@ import jdk.internal.math.FormattedFloatingDecimal;
*
* The conversion does not correspond to any argument.
*
- *
+ *
+ * DTConv
+ *
*
* | {@code '%'}
* | The result is a literal {@code '%'} ('\u0025')
@@ -1767,18 +1819,22 @@ import jdk.internal.math.FormattedFloatingDecimal;
* The precision is not applicable. If the precision is specified an
* {@link IllegalFormatPrecisionException} will be thrown.
*
+ * |
*
*
*
*
* The conversion does not correspond to any argument.
*
- *
+ *
+ * DTConv
+ *
*
* | {@code 'n'}
* | the platform-specific line separator as returned by {@link
* System#lineSeparator()}.
*
+ * |
*
*
* Flags, width, and precision are not applicable. If any are provided an
diff --git a/jdk/src/java.base/share/classes/java/util/GregorianCalendar.java b/jdk/src/java.base/share/classes/java/util/GregorianCalendar.java
index c482aa96747..8d2835fe5ac 100644
--- a/jdk/src/java.base/share/classes/java/util/GregorianCalendar.java
+++ b/jdk/src/java.base/share/classes/java/util/GregorianCalendar.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2017, 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
@@ -159,88 +159,89 @@ import sun.util.calendar.ZoneInfo;
* undefined. GregorianCalendar uses the following
* default value for each calendar field if its value is undefined.
*
- *
+ *
+ * GregorianCalendar default field values
+ *
+ *
+ * |
+ * Field
+ * |
+ *
+ Default Value
+ * |
+ *
+ *
*
*
- * Field
- * |
- * Default Value
- * |
- *
- *
- *
- * ERA
+ * |
+ * ERA
* |
- *
- * AD
+ * |
+ * AD
* |
*
*
- *
- * YEAR
+ * |
+ * YEAR
* |
- *
- * 1970
+ * |
+ * 1970
* |
*
*
- *
- * MONTH
+ * |
+ * MONTH
* |
- *
- * JANUARY
+ * |
+ * JANUARY
* |
*
*
- *
- * DAY_OF_MONTH
+ * |
+ * DAY_OF_MONTH
* |
- *
- * 1
+ * |
+ * 1
* |
*
*
- *
- * DAY_OF_WEEK
+ * |
+ * DAY_OF_WEEK
* |
- *
- * the first day of week
+ * |
+ * the first day of week
* |
*
*
- *
- * WEEK_OF_MONTH
+ * |
+ * WEEK_OF_MONTH
* |
- *
- * 0
+ * |
+ * 0
* |
*
*
- *
- * DAY_OF_WEEK_IN_MONTH
+ * |
+ * DAY_OF_WEEK_IN_MONTH
* |
- *
- * 1
+ * |
+ * 1
* |
*
*
- *
- * AM_PM
+ * |
+ * AM_PM
* |
- *
- * AM
+ * |
+ * AM
* |
*
*
- *
- * HOUR, HOUR_OF_DAY, MINUTE, SECOND, MILLISECOND
+ * |
+ * HOUR, HOUR_OF_DAY, MINUTE, SECOND, MILLISECOND
* |
- *
- * 0
+ * |
+ * 0
* |
*
*
diff --git a/jdk/src/java.base/share/classes/java/util/Locale.java b/jdk/src/java.base/share/classes/java/util/Locale.java
index 2057e3befa4..45d13fa3db9 100644
--- a/jdk/src/java.base/share/classes/java/util/Locale.java
+++ b/jdk/src/java.base/share/classes/java/util/Locale.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2017, 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
@@ -1587,44 +1587,50 @@ public final class Locale implements Cloneable, Serializable {
*
* Grandfathered tags with canonical replacements are as follows:
*
- *
+ *
+ * Grandfathered tags with canonical replacements
+ *
+ * | grandfathered tag | modern replacement |
+ *
*
- * | grandfathered tag | | modern replacement |
- * | art-lojban | | jbo |
- * | i-ami | | ami |
- * | i-bnn | | bnn |
- * | i-hak | | hak |
- * | i-klingon | | tlh |
- * | i-lux | | lb |
- * | i-navajo | | nv |
- * | i-pwn | | pwn |
- * | i-tao | | tao |
- * | i-tay | | tay |
- * | i-tsu | | tsu |
- * | no-bok | | nb |
- * | no-nyn | | nn |
- * | sgn-BE-FR | | sfb |
- * | sgn-BE-NL | | vgt |
- * | sgn-CH-DE | | sgg |
- * | zh-guoyu | | cmn |
- * | zh-hakka | | hak |
- * | zh-min-nan | | nan |
- * | zh-xiang | | hsn |
+ * | art-lojban | jbo |
+ * | i-ami | ami |
+ * | i-bnn | bnn |
+ * | i-hak | hak |
+ * | i-klingon | tlh |
+ * | i-lux | lb |
+ * | i-navajo | nv |
+ * | i-pwn | pwn |
+ * | i-tao | tao |
+ * | i-tay | tay |
+ * | i-tsu | tsu |
+ * | no-bok | nb |
+ * | no-nyn | nn |
+ * | sgn-BE-FR | sfb |
+ * | sgn-BE-NL | vgt |
+ * | sgn-CH-DE | sgg |
+ * | zh-guoyu | cmn |
+ * | zh-hakka | hak |
+ * | zh-min-nan | nan |
+ * | zh-xiang | hsn |
*
*
*
* Grandfathered tags with no modern replacement will be
* converted as follows:
*
- *
+ *
+ * Grandfathered tags with no modern replacement
+ *
+ * | grandfathered tag | converts to |
+ *
*
- * | grandfathered tag | | converts to |
- * | cel-gaulish | | xtg-x-cel-gaulish |
- * | en-GB-oed | | en-GB-x-oed |
- * | i-default | | en-x-i-default |
- * | i-enochian | | und-x-i-enochian |
- * | i-mingo | | see-x-i-mingo |
- * | zh-min | | nan-x-zh-min |
+ * | cel-gaulish | xtg-x-cel-gaulish |
+ * | en-GB-oed | en-GB-x-oed |
+ * | i-default | en-x-i-default |
+ * | i-enochian | und-x-i-enochian |
+ * | i-mingo | see-x-i-mingo |
+ * | zh-min | nan-x-zh-min |
*
*
*
@@ -2767,12 +2773,16 @@ public final class Locale implements Cloneable, Serializable {
*
* The filtering method will behave as follows:
*
- *
+ *
+ * Filtering method behavior
+ *
*
* | Filtering Mode |
* Language Priority List: {@code "de-DE"} |
* Language Priority List: {@code "de-*-DE"} |
*
+ *
+ *
*
* |
* {@link FilteringMode#AUTOSELECT_FILTERING AUTOSELECT_FILTERING}
@@ -2832,6 +2842,7 @@ public final class Locale implements Cloneable, Serializable {
* not a valid basic language range.
* |
*
+ *
*
*
* @see #filter(List, Collection, FilteringMode)
diff --git a/jdk/src/java.base/share/classes/java/util/Queue.java b/jdk/src/java.base/share/classes/java/util/Queue.java
index 914e293ce2c..f8383b67b41 100644
--- a/jdk/src/java.base/share/classes/java/util/Queue.java
+++ b/jdk/src/java.base/share/classes/java/util/Queue.java
@@ -47,7 +47,7 @@ package java.util;
* implementations; in most implementations, insert operations cannot
* fail.
*
- *
+ *
* Summary of Queue methods
*
* |
diff --git a/jdk/src/java.base/share/classes/java/util/ResourceBundle.java b/jdk/src/java.base/share/classes/java/util/ResourceBundle.java
index bd95564ade8..e7fecee180c 100644
--- a/jdk/src/java.base/share/classes/java/util/ResourceBundle.java
+++ b/jdk/src/java.base/share/classes/java/util/ResourceBundle.java
@@ -1222,12 +1222,15 @@ public abstract class ResourceBundle {
* Calling getBundle with the locale arguments below will
* instantiate resource bundles as follows:
*
- *
+ *
+ * getBundle() locale to resource bundle mapping
+ *
* | Locale("fr", "CH") | MyResources_fr_CH.class, parent MyResources_fr.properties, parent MyResources.class |
* | Locale("fr", "FR") | MyResources_fr.properties, parent MyResources.class |
* | Locale("de", "DE") | MyResources_en.properties, parent MyResources.class |
* | Locale("en", "US") | MyResources_en.properties, parent MyResources.class |
* | Locale("es", "ES") | MyResources_es_ES.class, parent MyResources.class |
+ *
*
*
* The file MyResources_fr_CH.properties is never used because it is
@@ -1311,9 +1314,9 @@ public abstract class ResourceBundle {
* sequence of locale-format combinations to be used to call
* control.newBundle.
*
- *
- *
+ *
+ * locale-format combinations for newBundle
+ *
*
* Locale
@@ -1322,6 +1325,8 @@ public abstract class ResourceBundle {
* style="vertical-align: top; text-align: left; font-weight: bold; width: 50%;">format
* |
*
+ *
+ *
*
* Locale("de", "DE")
* |
diff --git a/jdk/src/java.base/share/classes/java/util/concurrent/BlockingDeque.java b/jdk/src/java.base/share/classes/java/util/concurrent/BlockingDeque.java
index 36fc4fd63d6..f93af80ad48 100644
--- a/jdk/src/java.base/share/classes/java/util/concurrent/BlockingDeque.java
+++ b/jdk/src/java.base/share/classes/java/util/concurrent/BlockingDeque.java
@@ -53,7 +53,7 @@ import java.util.NoSuchElementException;
* and the fourth blocks for only a given maximum time limit before giving
* up. These methods are summarized in the following table:
*
- *
+ *
* Summary of BlockingDeque methods
*
* | First Element (Head) |
@@ -128,7 +128,7 @@ import java.util.NoSuchElementException;
* {@code BlockingQueue} interface are precisely equivalent to
* {@code BlockingDeque} methods as indicated in the following table:
*
- *
|
|---|
|
|---|
|