8136494: Update "@since 1.9" to "@since 9" to match java.version.specification

Reviewed-by: alanb, chegar, lancea, prr
This commit is contained in:
Iris Clark 2016-01-20 11:02:36 -08:00
parent 298315e8f8
commit 9d07dc02e1
124 changed files with 297 additions and 297 deletions
jdk
make/src/classes/build/tools/tzdb
src
java.base/share/classes
java.datatransfer/share/classes/sun/datatransfer
java.desktop/share/classes
java.logging/share/classes
java.management/share/classes
java/lang/management
javax/management
java.naming/share/classes/sun/security/provider/certpath/ldap
java.security.jgss/share/classes
javax/security/auth/kerberos
sun/security/krb5/internal/ssl
java.sql/share/classes/java/sql

@ -60,7 +60,7 @@ import java.time.zone.ZoneRulesException;
* @author Stephen Colebourne
* @author Michael Nascimento Santos
*
* @since 1.9
* @since 9
*/
class TzdbZoneRulesProvider {

@ -228,7 +228,7 @@ public abstract class InputStream implements Closeable {
* allocated. For example, if an array larger than {@code 2GB} would
* be required to store the bytes.
*
* @since 1.9
* @since 9
*/
public byte[] readAllBytes() throws IOException {
byte[] buf = new byte[DEFAULT_BUFFER_SIZE];
@ -298,7 +298,7 @@ public abstract class InputStream implements Closeable {
* @throws IndexOutOfBoundsException If {@code off} is negative, {@code len}
* is negative, or {@code len} is greater than {@code b.length - off}
*
* @since 1.9
* @since 9
*/
public int readNBytes(byte[] b, int off, int len) throws IOException {
Objects.requireNonNull(b);
@ -514,7 +514,7 @@ public abstract class InputStream implements Closeable {
* @throws IOException if an I/O error occurs when reading or writing
* @throws NullPointerException if {@code out} is {@code null}
*
* @since 1.9
* @since 9
*/
public long transferTo(OutputStream out) throws IOException {
Objects.requireNonNull(out, "out");

@ -1526,7 +1526,7 @@ abstract class AbstractStringBuilder implements Appendable, CharSequence {
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public IntStream chars() {
@ -1543,7 +1543,7 @@ abstract class AbstractStringBuilder implements Appendable, CharSequence {
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public IntStream codePoints() {

@ -493,25 +493,25 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Weak bidirectional character type "LRI" in the Unicode specification.
* @since 1.9
* @since 9
*/
public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_ISOLATE = 19;
/**
* Weak bidirectional character type "RLI" in the Unicode specification.
* @since 1.9
* @since 9
*/
public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_ISOLATE = 20;
/**
* Weak bidirectional character type "FSI" in the Unicode specification.
* @since 1.9
* @since 9
*/
public static final byte DIRECTIONALITY_FIRST_STRONG_ISOLATE = 21;
/**
* Weak bidirectional character type "PDI" in the Unicode specification.
* @since 1.9
* @since 9
*/
public static final byte DIRECTIONALITY_POP_DIRECTIONAL_ISOLATE = 22;
@ -2590,7 +2590,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Combining Diacritical Marks Extended" Unicode
* character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock COMBINING_DIACRITICAL_MARKS_EXTENDED =
new UnicodeBlock("COMBINING_DIACRITICAL_MARKS_EXTENDED",
@ -2599,7 +2599,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Myanmar Extended-B" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock MYANMAR_EXTENDED_B =
new UnicodeBlock("MYANMAR_EXTENDED_B",
@ -2608,7 +2608,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Latin Extended-E" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock LATIN_EXTENDED_E =
new UnicodeBlock("LATIN_EXTENDED_E",
@ -2617,7 +2617,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Coptic Epact Numbers" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock COPTIC_EPACT_NUMBERS =
new UnicodeBlock("COPTIC_EPACT_NUMBERS",
@ -2626,7 +2626,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Old Permic" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock OLD_PERMIC =
new UnicodeBlock("OLD_PERMIC",
@ -2635,14 +2635,14 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Elbasan" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock ELBASAN =
new UnicodeBlock("ELBASAN");
/**
* Constant for the "Caucasian Albanian" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock CAUCASIAN_ALBANIAN =
new UnicodeBlock("CAUCASIAN_ALBANIAN",
@ -2651,7 +2651,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Linear A" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock LINEAR_A =
new UnicodeBlock("LINEAR_A",
@ -2660,21 +2660,21 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Palmyrene" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock PALMYRENE =
new UnicodeBlock("PALMYRENE");
/**
* Constant for the "Nabataean" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock NABATAEAN =
new UnicodeBlock("NABATAEAN");
/**
* Constant for the "Old North Arabian" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock OLD_NORTH_ARABIAN =
new UnicodeBlock("OLD_NORTH_ARABIAN",
@ -2683,14 +2683,14 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Manichaean" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock MANICHAEAN =
new UnicodeBlock("MANICHAEAN");
/**
* Constant for the "Psalter Pahlavi" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock PSALTER_PAHLAVI =
new UnicodeBlock("PSALTER_PAHLAVI",
@ -2699,14 +2699,14 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Mahajani" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock MAHAJANI =
new UnicodeBlock("MAHAJANI");
/**
* Constant for the "Sinhala Archaic Numbers" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock SINHALA_ARCHAIC_NUMBERS =
new UnicodeBlock("SINHALA_ARCHAIC_NUMBERS",
@ -2715,49 +2715,49 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Khojki" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock KHOJKI =
new UnicodeBlock("KHOJKI");
/**
* Constant for the "Khudawadi" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock KHUDAWADI =
new UnicodeBlock("KHUDAWADI");
/**
* Constant for the "Grantha" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock GRANTHA =
new UnicodeBlock("GRANTHA");
/**
* Constant for the "Tirhuta" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock TIRHUTA =
new UnicodeBlock("TIRHUTA");
/**
* Constant for the "Siddham" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock SIDDHAM =
new UnicodeBlock("SIDDHAM");
/**
* Constant for the "Modi" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock MODI =
new UnicodeBlock("MODI");
/**
* Constant for the "Warang Citi" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock WARANG_CITI =
new UnicodeBlock("WARANG_CITI",
@ -2766,7 +2766,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Pau Cin Hau" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock PAU_CIN_HAU =
new UnicodeBlock("PAU_CIN_HAU",
@ -2775,14 +2775,14 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Mro" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock MRO =
new UnicodeBlock("MRO");
/**
* Constant for the "Bassa Vah" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock BASSA_VAH =
new UnicodeBlock("BASSA_VAH",
@ -2791,7 +2791,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Pahawh Hmong" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock PAHAWH_HMONG =
new UnicodeBlock("PAHAWH_HMONG",
@ -2800,14 +2800,14 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Duployan" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock DUPLOYAN =
new UnicodeBlock("DUPLOYAN");
/**
* Constant for the "Shorthand Format Controls" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock SHORTHAND_FORMAT_CONTROLS =
new UnicodeBlock("SHORTHAND_FORMAT_CONTROLS",
@ -2816,7 +2816,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Mende Kikakui" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock MENDE_KIKAKUI =
new UnicodeBlock("MENDE_KIKAKUI",
@ -2825,7 +2825,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Ornamental Dingbats" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock ORNAMENTAL_DINGBATS =
new UnicodeBlock("ORNAMENTAL_DINGBATS",
@ -2834,7 +2834,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Geometric Shapes Extended" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock GEOMETRIC_SHAPES_EXTENDED =
new UnicodeBlock("GEOMETRIC_SHAPES_EXTENDED",
@ -2843,7 +2843,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Supplemental Arrows-C" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock SUPPLEMENTAL_ARROWS_C =
new UnicodeBlock("SUPPLEMENTAL_ARROWS_C",
@ -2852,7 +2852,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Cherokee Supplement" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock CHEROKEE_SUPPLEMENT =
new UnicodeBlock("CHEROKEE_SUPPLEMENT",
@ -2861,14 +2861,14 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Hatran" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock HATRAN =
new UnicodeBlock("HATRAN");
/**
* Constant for the "Old Hungarian" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock OLD_HUNGARIAN =
new UnicodeBlock("OLD_HUNGARIAN",
@ -2877,21 +2877,21 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Multani" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock MULTANI =
new UnicodeBlock("MULTANI");
/**
* Constant for the "Ahom" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock AHOM =
new UnicodeBlock("AHOM");
/**
* Constant for the "Early Dynastic Cuneiform" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock EARLY_DYNASTIC_CUNEIFORM =
new UnicodeBlock("EARLY_DYNASTIC_CUNEIFORM",
@ -2900,7 +2900,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Anatolian Hieroglyphs" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock ANATOLIAN_HIEROGLYPHS =
new UnicodeBlock("ANATOLIAN_HIEROGLYPHS",
@ -2909,7 +2909,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Sutton SignWriting" Unicode character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock SUTTON_SIGNWRITING =
new UnicodeBlock("SUTTON_SIGNWRITING",
@ -2919,7 +2919,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "Supplemental Symbols and Pictographs" Unicode
* character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock SUPPLEMENTAL_SYMBOLS_AND_PICTOGRAPHS =
new UnicodeBlock("SUPPLEMENTAL_SYMBOLS_AND_PICTOGRAPHS",
@ -2929,7 +2929,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Constant for the "CJK Unified Ideographs Extension E" Unicode
* character block.
* @since 1.9
* @since 9
*/
public static final UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_E =
new UnicodeBlock("CJK_UNIFIED_IDEOGRAPHS_EXTENSION_E",
@ -4189,175 +4189,175 @@ class Character implements java.io.Serializable, Comparable<Character> {
/**
* Unicode script "Caucasian Albanian".
* @since 1.9
* @since 9
*/
CAUCASIAN_ALBANIAN,
/**
* Unicode script "Bassa Vah".
* @since 1.9
* @since 9
*/
BASSA_VAH,
/**
* Unicode script "Duployan".
* @since 1.9
* @since 9
*/
DUPLOYAN,
/**
* Unicode script "Elbasan".
* @since 1.9
* @since 9
*/
ELBASAN,
/**
* Unicode script "Grantha".
* @since 1.9
* @since 9
*/
GRANTHA,
/**
* Unicode script "Pahawh Hmong".
* @since 1.9
* @since 9
*/
PAHAWH_HMONG,
/**
* Unicode script "Khojki".
* @since 1.9
* @since 9
*/
KHOJKI,
/**
* Unicode script "Linear A".
* @since 1.9
* @since 9
*/
LINEAR_A,
/**
* Unicode script "Mahajani".
* @since 1.9
* @since 9
*/
MAHAJANI,
/**
* Unicode script "Manichaean".
* @since 1.9
* @since 9
*/
MANICHAEAN,
/**
* Unicode script "Mende Kikakui".
* @since 1.9
* @since 9
*/
MENDE_KIKAKUI,
/**
* Unicode script "Modi".
* @since 1.9
* @since 9
*/
MODI,
/**
* Unicode script "Mro".
* @since 1.9
* @since 9
*/
MRO,
/**
* Unicode script "Old North Arabian".
* @since 1.9
* @since 9
*/
OLD_NORTH_ARABIAN,
/**
* Unicode script "Nabataean".
* @since 1.9
* @since 9
*/
NABATAEAN,
/**
* Unicode script "Palmyrene".
* @since 1.9
* @since 9
*/
PALMYRENE,
/**
* Unicode script "Pau Cin Hau".
* @since 1.9
* @since 9
*/
PAU_CIN_HAU,
/**
* Unicode script "Old Permic".
* @since 1.9
* @since 9
*/
OLD_PERMIC,
/**
* Unicode script "Psalter Pahlavi".
* @since 1.9
* @since 9
*/
PSALTER_PAHLAVI,
/**
* Unicode script "Siddham".
* @since 1.9
* @since 9
*/
SIDDHAM,
/**
* Unicode script "Khudawadi".
* @since 1.9
* @since 9
*/
KHUDAWADI,
/**
* Unicode script "Tirhuta".
* @since 1.9
* @since 9
*/
TIRHUTA,
/**
* Unicode script "Warang Citi".
* @since 1.9
* @since 9
*/
WARANG_CITI,
/**
* Unicode script "Ahom".
* @since 1.9
* @since 9
*/
AHOM,
/**
* Unicode script "Anatolian Hieroglyphs".
* @since 1.9
* @since 9
*/
ANATOLIAN_HIEROGLYPHS,
/**
* Unicode script "Hatran".
* @since 1.9
* @since 9
*/
HATRAN,
/**
* Unicode script "Multani".
* @since 1.9
* @since 9
*/
MULTANI,
/**
* Unicode script "Old Hungarian".
* @since 1.9
* @since 9
*/
OLD_HUNGARIAN,
/**
* Unicode script "SignWriting".
* @since 1.9
* @since 9
*/
SIGNWRITING,

@ -716,7 +716,7 @@ public final class Integer extends Number implements Comparable<Integer> {
* {@code radix}, or if {@code radix} is either smaller than
* {@link java.lang.Character#MIN_RADIX} or larger than
* {@link java.lang.Character#MAX_RADIX}.
* @since 1.9
* @since 9
*/
public static int parseInt(CharSequence s, int beginIndex, int endIndex, int radix)
throws NumberFormatException {
@ -899,7 +899,7 @@ public final class Integer extends Number implements Comparable<Integer> {
* {@code radix}, or if {@code radix} is either smaller than
* {@link java.lang.Character#MIN_RADIX} or larger than
* {@link java.lang.Character#MAX_RADIX}.
* @since 1.9
* @since 9
*/
public static int parseUnsignedInt(CharSequence s, int beginIndex, int endIndex, int radix)
throws NumberFormatException {

@ -747,7 +747,7 @@ public final class Long extends Number implements Comparable<Long> {
* {@code radix}, or if {@code radix} is either smaller than
* {@link java.lang.Character#MIN_RADIX} or larger than
* {@link java.lang.Character#MAX_RADIX}.
* @since 1.9
* @since 9
*/
public static long parseLong(CharSequence s, int beginIndex, int endIndex, int radix)
throws NumberFormatException {
@ -993,7 +993,7 @@ public final class Long extends Number implements Comparable<Long> {
* {@code radix}, or if {@code radix} is either smaller than
* {@link java.lang.Character#MIN_RADIX} or larger than
* {@link java.lang.Character#MAX_RADIX}.
* @since 1.9
* @since 9
*/
public static long parseUnsignedLong(CharSequence s, int beginIndex, int endIndex, int radix)
throws NumberFormatException {

@ -304,7 +304,7 @@ public abstract class Process {
* otherwise, {@link #destroy} forcibly terminates the process
* @throws UnsupportedOperationException if the Process implementation
* does not support this operation
* @since 1.9
* @since 9
*/
public boolean supportsNormalTermination() {
throw new UnsupportedOperationException(this.getClass()
@ -340,7 +340,7 @@ public abstract class Process {
* @return the native process id of the process
* @throws UnsupportedOperationException if the Process implementation
* does not support this operation
* @since 1.9
* @since 9
*/
public long getPid() {
return toHandle().getPid();
@ -409,7 +409,7 @@ public abstract class Process {
*
* @return a new {@code CompletableFuture<Process>} for the Process
*
* @since 1.9
* @since 9
*/
public CompletableFuture<Process> onExit() {
return CompletableFuture.supplyAsync(this::waitForInternal);
@ -471,7 +471,7 @@ public abstract class Process {
* does not support this operation
* @throws SecurityException if a security manager has been installed and
* it denies RuntimePermission("manageProcess")
* @since 1.9
* @since 9
*/
public ProcessHandle toHandle() {
throw new UnsupportedOperationException(this.getClass()
@ -491,7 +491,7 @@ public abstract class Process {
* @return a snapshot of information about the process, always non-null
* @throws UnsupportedOperationException if the Process implementation
* does not support this operation
* @since 1.9
* @since 9
*/
public ProcessHandle.Info info() {
return toHandle().info();
@ -516,7 +516,7 @@ public abstract class Process {
* does not support this operation
* @throws SecurityException if a security manager has been installed and
* it denies RuntimePermission("manageProcess")
* @since 1.9
* @since 9
*/
public Stream<ProcessHandle> children() {
return toHandle().children();
@ -542,7 +542,7 @@ public abstract class Process {
* does not support this operation
* @throws SecurityException if a security manager has been installed and
* it denies RuntimePermission("manageProcess")
* @since 1.9
* @since 9
*/
public Stream<ProcessHandle> descendants() {
return toHandle().descendants();

@ -89,7 +89,7 @@ import java.util.stream.Stream;
* {@link #compareTo(ProcessHandle) compareTo} methods to compare ProcessHandles.
*
* @see Process
* @since 1.9
* @since 9
*/
public interface ProcessHandle extends Comparable<ProcessHandle> {
@ -215,7 +215,7 @@ public interface ProcessHandle extends Comparable<ProcessHandle> {
* by the operating system privileges of the process making the request.
* The return types are {@code Optional<T>} allowing explicit tests
* and actions if the value is available.
* @since 1.9
* @since 9
*/
public interface Info {
/**

@ -50,7 +50,7 @@ import static java.security.AccessController.doPrivileged;
* ProcessHandleImpl is the implementation of ProcessHandle.
*
* @see Process
* @since 1.9
* @since 9
*/
final class ProcessHandleImpl implements ProcessHandle {
/**
@ -338,7 +338,7 @@ final class ProcessHandleImpl implements ProcessHandle {
*
* @return {@code true} if the process represented by this
* {@code ProcessHandle} object has not yet terminated.
* @since 1.9
* @since 9
*/
@Override
public boolean isAlive() {

@ -81,7 +81,7 @@ import java.util.stream.Stream;
* will cause a {@link NullPointerException NullPointerException}
* to be thrown.
*
* @since 1.9
* @since 9
*/
public final class StackWalker {
/**
@ -92,7 +92,7 @@ public final class StackWalker {
* by the {@linkplain Option stack walking options} of a {@linkplain
* StackWalker stack walker}.
*
* @since 1.9
* @since 9
* @jvms 2.6
*/
public static interface StackFrame {
@ -185,7 +185,7 @@ public final class StackWalker {
* Stack walker option to configure the {@linkplain StackFrame stack frame}
* information obtained by a {@code StackWalker}.
*
* @since 1.9
* @since 9
*/
public enum Option {
/**

@ -2674,7 +2674,7 @@ public final class String
* point</a> is passed through uninterpreted.
*
* @return an IntStream of char values from this sequence
* @since 1.9
* @since 9
*/
@Override
public IntStream chars() {
@ -2694,7 +2694,7 @@ public final class String
* {@code int} values which are then passed to the stream.
*
* @return an IntStream of Unicode code points from this sequence
* @since 1.9
* @since 9
*/
@Override
public IntStream codePoints() {

@ -53,7 +53,7 @@ public interface AnnotatedArrayType extends AnnotatedType {
*
* @return {@code null}
*
* @since 1.9
* @since 9
*/
@Override
AnnotatedType getAnnotatedOwnerType();

@ -59,7 +59,7 @@ public interface AnnotatedParameterizedType extends AnnotatedType {
* refers to a parameterized type that cannot be instantiated
* for any reason
*
* @since 1.9
* @since 9
*/
@Override
AnnotatedType getAnnotatedOwnerType();

@ -60,7 +60,7 @@ public interface AnnotatedType extends AnnotatedElement {
* refers to a parameterized type that cannot be instantiated
* for any reason
*
* @since 1.9
* @since 9
*/
default AnnotatedType getAnnotatedOwnerType() {
return null;

@ -54,7 +54,7 @@ public interface AnnotatedTypeVariable extends AnnotatedType {
*
* @return {@code null}
*
* @since 1.9
* @since 9
*/
@Override
AnnotatedType getAnnotatedOwnerType();

@ -65,7 +65,7 @@ public interface AnnotatedWildcardType extends AnnotatedType {
*
* @return {@code null}
*
* @since 1.9
* @since 9
*/
@Override
AnnotatedType getAnnotatedOwnerType();

@ -297,7 +297,7 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
* @throws IndexOutOfBoundsException if the provided array offset and
* length would cause an index into the byte array to be
* negative or greater than or equal to the array length.
* @since 1.9
* @since 9
*/
public BigInteger(byte[] val, int off, int len) {
if (val.length == 0) {
@ -385,7 +385,7 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
* @throws IndexOutOfBoundsException if the provided array offset and
* length would cause an index into the byte array to be
* negative or greater than or equal to the array length.
* @since 1.9
* @since 9
*/
public BigInteger(int signum, byte[] magnitude, int off, int len) {
if (signum < -1 || signum > 1) {
@ -2424,7 +2424,7 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
* {@code (i * sqrt(-val))} where <i>i</i> is the
* <i>imaginary unit</i> and is equal to
* {@code sqrt(-1)}.)
* @since 1.9
* @since 9
*/
public BigInteger sqrt() {
if (this.signum < 0) {
@ -2447,7 +2447,7 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
* <i>imaginary unit</i> and is equal to
* {@code sqrt(-1)}.)
* @see #sqrt()
* @since 1.9
* @since 9
*/
public BigInteger[] sqrtAndRemainder() {
BigInteger s = sqrt();

@ -1878,7 +1878,7 @@ class MutableBigInteger {
* @throws ArithmeticException if the value returned by {@code bitLength()}
* overflows the range of {@code int}.
* @return the integer square root of {@code this}
* @since 1.9
* @since 9
*/
MutableBigInteger sqrt() {
// Special cases.

@ -1338,7 +1338,7 @@ class DatagramSocket implements java.io.Closeable {
*
* @throws NullPointerException if name is {@code null}
*
* @since 1.9
* @since 9
*/
public <T> DatagramSocket setOption(SocketOption<T> name, T value)
throws IOException
@ -1368,7 +1368,7 @@ class DatagramSocket implements java.io.Closeable {
* {@link java.net.StandardSocketOptions StandardSocketOptions}
* do not require any security permission.
*
* @since 1.9
* @since 9
*/
public <T> T getOption(SocketOption<T> name) throws IOException {
return getImpl().getOption(name);
@ -1386,7 +1386,7 @@ class DatagramSocket implements java.io.Closeable {
* @return A set of the socket options supported by this socket. This set
* may be empty if the socket's DatagramSocketImpl cannot be created.
*
* @since 1.9
* @since 9
*/
public Set<SocketOption<?>> supportedOptions() {
synchronized(DatagramSocket.class) {

@ -278,7 +278,7 @@ public abstract class DatagramSocketImpl implements SocketOptions {
*
* @throws NullPointerException if name is {@code null}
* @throws IOException if an I/O problem occurs while attempting to set the option
* @since 1.9
* @since 9
*/
protected <T> void setOption(SocketOption<T> name, T value) throws IOException {
if (name == StandardSocketOptions.SO_SNDBUF) {
@ -319,7 +319,7 @@ public abstract class DatagramSocketImpl implements SocketOptions {
* @throws NullPointerException if name is {@code null}
* @throws IOException if an I/O problem occurs while attempting to set the option
*
* @since 1.9
* @since 9
*/
@SuppressWarnings("unchecked")
protected <T> T getOption(SocketOption<T> name) throws IOException {

@ -130,7 +130,7 @@ public final class NetworkInterface {
*
* @return a Stream object with all or a subset of the InetAddresses
* bound to this network interface
* @since 1.9
* @since 9
*/
public Stream<InetAddress> inetAddresses() {
return streamFromArray(getCheckedInetAddresses());
@ -208,7 +208,7 @@ public final class NetworkInterface {
*
* @return a Stream object with all of the subinterfaces
* of this network interface
* @since 1.9
* @since 9
*/
public Stream<NetworkInterface> subInterfaces() {
return streamFromArray(childs);
@ -362,7 +362,7 @@ public final class NetworkInterface {
*
* @return a Stream of NetworkInterfaces found on this machine
* @exception SocketException if an I/O error occurs.
* @since 1.9
* @since 9
*/
public static Stream<NetworkInterface> networkInterfaces()
throws SocketException {

@ -946,7 +946,7 @@ class ServerSocket implements java.io.Closeable {
* {@link java.net.StandardSocketOptions StandardSocketOptions}
* do not require any security permission.
*
* @since 1.9
* @since 9
*/
public <T> ServerSocket setOption(SocketOption<T> name, T value)
throws IOException
@ -976,7 +976,7 @@ class ServerSocket implements java.io.Closeable {
* {@link java.net.StandardSocketOptions StandardSocketOptions}
* do not require any security permission.
*
* @since 1.9
* @since 9
*/
public <T> T getOption(SocketOption<T> name) throws IOException {
return getImpl().getOption(name);
@ -994,7 +994,7 @@ class ServerSocket implements java.io.Closeable {
* @return A set of the socket options supported by this socket. This set
* may be empty if the socket's SocketImpl cannot be created.
*
* @since 1.9
* @since 9
*/
public Set<SocketOption<?>> supportedOptions() {
synchronized (ServerSocket.class) {

@ -1756,7 +1756,7 @@ class Socket implements java.io.Closeable {
* {@link java.net.StandardSocketOptions StandardSocketOptions}
* do not require any security permission.
*
* @since 1.9
* @since 9
*/
public <T> Socket setOption(SocketOption<T> name, T value) throws IOException {
getImpl().setOption(name, value);
@ -1784,7 +1784,7 @@ class Socket implements java.io.Closeable {
* {@link java.net.StandardSocketOptions StandardSocketOptions}
* do not require any security permission.
*
* @since 1.9
* @since 9
*/
@SuppressWarnings("unchecked")
public <T> T getOption(SocketOption<T> name) throws IOException {
@ -1803,7 +1803,7 @@ class Socket implements java.io.Closeable {
* @return A set of the socket options supported by this socket. This set
* may be empty if the socket's SocketImpl cannot be created.
*
* @since 1.9
* @since 9
*/
public Set<SocketOption<?>> supportedOptions() {
synchronized (Socket.class) {

@ -373,7 +373,7 @@ public abstract class SocketImpl implements SocketOptions {
*
* @throws IOException if an I/O error occurs, or if the socket is closed.
*
* @since 1.9
* @since 9
*/
protected <T> void setOption(SocketOption<T> name, T value) throws IOException {
if (name == StandardSocketOptions.SO_KEEPALIVE &&
@ -412,7 +412,7 @@ public abstract class SocketImpl implements SocketOptions {
*
* @throws IOException if an I/O error occurs, or if the socket is closed.
*
* @since 1.9
* @since 9
*/
@SuppressWarnings("unchecked")
protected <T> T getOption(SocketOption<T> name) throws IOException {

@ -44,7 +44,7 @@ import java.net.URLStreamHandlerFactory;
* <p> URL stream handler providers are located at runtime, as specified in the
* {@linkplain java.net.URL#URL(String,String,int,String) URL constructor}.
*
* @since 1.9
* @since 9
*/
public abstract class URLStreamHandlerProvider
implements URLStreamHandlerFactory

@ -29,7 +29,7 @@
* <p> Only developers who are defining new URL stream handler providers
* should need to make direct use of this package.
*
* @since 1.9
* @since 9
*/
package java.net.spi;

@ -213,7 +213,7 @@ public abstract class MappedByteBuffer
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public final MappedByteBuffer position(int newPosition) {
@ -223,7 +223,7 @@ public abstract class MappedByteBuffer
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public final MappedByteBuffer limit(int newLimit) {
@ -233,7 +233,7 @@ public abstract class MappedByteBuffer
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public final MappedByteBuffer mark() {
@ -243,7 +243,7 @@ public abstract class MappedByteBuffer
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public final MappedByteBuffer reset() {
@ -253,7 +253,7 @@ public abstract class MappedByteBuffer
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public final MappedByteBuffer clear() {
@ -263,7 +263,7 @@ public abstract class MappedByteBuffer
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public final MappedByteBuffer flip() {
@ -273,7 +273,7 @@ public abstract class MappedByteBuffer
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public final MappedByteBuffer rewind() {

@ -1064,7 +1064,7 @@ public abstract class $Type$Buffer
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public
@ -1078,7 +1078,7 @@ public abstract class $Type$Buffer
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public
@ -1092,7 +1092,7 @@ public abstract class $Type$Buffer
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public
@ -1106,7 +1106,7 @@ public abstract class $Type$Buffer
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public
@ -1120,7 +1120,7 @@ public abstract class $Type$Buffer
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public
@ -1134,7 +1134,7 @@ public abstract class $Type$Buffer
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public
@ -1148,7 +1148,7 @@ public abstract class $Type$Buffer
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public

@ -1666,7 +1666,7 @@ public class KeyStore {
*
* @see Provider
*
* @since 1.9
* @since 9
*/
public static final KeyStore getInstance(File file, char[] password)
throws KeyStoreException, IOException, NoSuchAlgorithmException,
@ -1722,7 +1722,7 @@ public class KeyStore {
*
* @see Provider
*
* @since 1.9
* @since 9
*/
public static final KeyStore getInstance(File file,
LoadStoreParameter param) throws KeyStoreException, IOException,
@ -2006,7 +2006,7 @@ public class KeyStore {
* of either PasswordProtection or CallbackHandlerProtection; or
* if file does not exist or does not refer to a normal file
*
* @since 1.9
* @since 9
*/
public static Builder newInstance(File file,
ProtectionParameter protection) {

@ -144,7 +144,7 @@ public abstract class PermissionCollection implements java.io.Serializable {
* the enumeration returned from a call to {@link #elements()}.
*
* @return a stream of all the Permissions.
* @since 1.9
* @since 9
*/
public Stream<Permission> elementsAsStream() {
int characteristics = isReadOnly()

@ -43,7 +43,7 @@ import java.net.URI;
* provide the necessary locking. Multiple threads each manipulating
* separate objects need not synchronize.
*
* @since 1.9
* @since 9
* @see CertStore
* @see java.net.URI
*/

@ -74,7 +74,7 @@ public abstract class EncodedKeySpec implements KeySpec {
* or {@code algorithm} is null.
* @throws IllegalArgumentException if {@code algorithm} is
* the empty string {@code ""}
* @since 1.9
* @since 9
*/
protected EncodedKeySpec(byte[] encodedKey, String algorithm) {
if (algorithm == null) {
@ -93,7 +93,7 @@ public abstract class EncodedKeySpec implements KeySpec {
* Returns the name of the algorithm of the encoded key.
*
* @return the name of the algorithm, or null if not specified
* @since 1.9
* @since 9
*/
public String getAlgorithm() {
return algorithmName;

@ -92,7 +92,7 @@ public class PKCS8EncodedKeySpec extends EncodedKeySpec {
* or {@code algorithm} is null.
* @throws IllegalArgumentException if {@code algorithm} is
* the empty string {@code ""}
* @since 1.9
* @since 9
*/
public PKCS8EncodedKeySpec(byte[] encodedKey, String algorithm) {
super(encodedKey, algorithm);

@ -82,7 +82,7 @@ public class X509EncodedKeySpec extends EncodedKeySpec {
* or {@code algorithm} is null.
* @throws IllegalArgumentException if {@code algorithm} is
* the empty string {@code ""}
* @since 1.9
* @since 9
*/
public X509EncodedKeySpec(byte[] encodedKey, String algorithm) {
super(encodedKey, algorithm);

@ -112,7 +112,7 @@ public interface Enumeration<E> {
*
* @return an Iterator representing the remaining elements of this Enumeration
*
* @since 1.9
* @since 9
*/
default Iterator<E> asIterator() {
return new Iterator<>() {

@ -2684,7 +2684,7 @@ public final class Scanner implements Iterator<String>, Closeable {
*
* @return a sequential stream of token strings
* @throws IllegalStateException if this scanner is closed
* @since 1.9
* @since 9
*/
public Stream<String> tokens() {
ensureOpen();
@ -2770,7 +2770,7 @@ public final class Scanner implements Iterator<String>, Closeable {
* @return a sequential stream of match results
* @throws NullPointerException if pattern is null
* @throws IllegalStateException if this scanner is closed
* @since 1.9
* @since 9
*/
public Stream<MatchResult> findAll(Pattern pattern) {
Objects.requireNonNull(pattern);
@ -2792,7 +2792,7 @@ public final class Scanner implements Iterator<String>, Closeable {
* @throws NullPointerException if patString is null
* @throws IllegalStateException if this scanner is closed
* @throws PatternSyntaxException if the regular expression's syntax is invalid
* @since 1.9
* @since 9
* @see java.util.regex.Pattern
*/
public Stream<MatchResult> findAll(String patString) {

@ -2429,7 +2429,7 @@ public class CompletableFuture<T> implements Future<T>, CompletionStage<T> {
*
* @param <U> the type of the value
* @return a new CompletableFuture
* @since 1.9
* @since 9
*/
public <U> CompletableFuture<U> newIncompleteFuture() {
return new CompletableFuture<U>();
@ -2444,7 +2444,7 @@ public class CompletableFuture<T> implements Future<T>, CompletionStage<T> {
* an Executor that provides at least one independent thread.
*
* @return the executor
* @since 1.9
* @since 9
*/
public Executor defaultExecutor() {
return ASYNC_POOL;
@ -2462,7 +2462,7 @@ public class CompletableFuture<T> implements Future<T>, CompletionStage<T> {
* arrange dependent actions.
*
* @return the new CompletableFuture
* @since 1.9
* @since 9
*/
public CompletableFuture<T> copy() {
return uniCopyStage();
@ -2479,7 +2479,7 @@ public class CompletableFuture<T> implements Future<T>, CompletionStage<T> {
* cause.
*
* @return the new CompletionStage
* @since 1.9
* @since 9
*/
public CompletionStage<T> minimalCompletionStage() {
return uniAsMinimalStage();
@ -2494,7 +2494,7 @@ public class CompletableFuture<T> implements Future<T>, CompletionStage<T> {
* to complete this CompletableFuture
* @param executor the executor to use for asynchronous execution
* @return this CompletableFuture
* @since 1.9
* @since 9
*/
public CompletableFuture<T> completeAsync(Supplier<? extends T> supplier,
Executor executor) {
@ -2512,7 +2512,7 @@ public class CompletableFuture<T> implements Future<T>, CompletionStage<T> {
* @param supplier a function returning the value to be used
* to complete this CompletableFuture
* @return this CompletableFuture
* @since 1.9
* @since 9
*/
public CompletableFuture<T> completeAsync(Supplier<? extends T> supplier) {
return completeAsync(supplier, defaultExecutor());
@ -2528,7 +2528,7 @@ public class CompletableFuture<T> implements Future<T>, CompletionStage<T> {
* @param unit a {@code TimeUnit} determining how to interpret the
* {@code timeout} parameter
* @return this CompletableFuture
* @since 1.9
* @since 9
*/
public CompletableFuture<T> orTimeout(long timeout, TimeUnit unit) {
if (unit == null)
@ -2549,7 +2549,7 @@ public class CompletableFuture<T> implements Future<T>, CompletionStage<T> {
* @param unit a {@code TimeUnit} determining how to interpret the
* {@code timeout} parameter
* @return this CompletableFuture
* @since 1.9
* @since 9
*/
public CompletableFuture<T> completeOnTimeout(T value, long timeout,
TimeUnit unit) {
@ -2573,7 +2573,7 @@ public class CompletableFuture<T> implements Future<T>, CompletionStage<T> {
* {@code delay} parameter
* @param executor the base executor
* @return the new delayed executor
* @since 1.9
* @since 9
*/
public static Executor delayedExecutor(long delay, TimeUnit unit,
Executor executor) {
@ -2592,7 +2592,7 @@ public class CompletableFuture<T> implements Future<T>, CompletionStage<T> {
* @param unit a {@code TimeUnit} determining how to interpret the
* {@code delay} parameter
* @return the new delayed executor
* @since 1.9
* @since 9
*/
public static Executor delayedExecutor(long delay, TimeUnit unit) {
if (unit == null)
@ -2608,7 +2608,7 @@ public class CompletableFuture<T> implements Future<T>, CompletionStage<T> {
* @param value the value
* @param <U> the type of the value
* @return the completed CompletionStage
* @since 1.9
* @since 9
*/
public static <U> CompletionStage<U> completedStage(U value) {
return new MinimalStage<U>((value == null) ? NIL : value);
@ -2621,7 +2621,7 @@ public class CompletableFuture<T> implements Future<T>, CompletionStage<T> {
* @param ex the exception
* @param <U> the type of the value
* @return the exceptionally completed CompletableFuture
* @since 1.9
* @since 9
*/
public static <U> CompletableFuture<U> failedFuture(Throwable ex) {
if (ex == null) throw new NullPointerException();
@ -2636,7 +2636,7 @@ public class CompletableFuture<T> implements Future<T>, CompletionStage<T> {
* @param ex the exception
* @param <U> the type of the value
* @return the exceptionally completed CompletionStage
* @since 1.9
* @since 9
*/
public static <U> CompletionStage<U> failedStage(Throwable ex) {
if (ex == null) throw new NullPointerException();

@ -161,7 +161,7 @@ package java.util.concurrent;
* }}</pre>
*
* @author Doug Lea
* @since 1.9
* @since 9
*/
public final class Flow {

@ -1301,7 +1301,7 @@ public abstract class ForkJoinTask<V> implements Future<V>, Serializable {
* support extensions, and is unlikely to be useful otherwise.
*
* @return a task, or {@code null} if none are available
* @since 1.9
* @since 9
*/
protected static ForkJoinTask<?> pollSubmission() {
Thread t;

@ -154,7 +154,7 @@ import java.util.function.Consumer;
*
* @param <T> the published item type
* @author Doug Lea
* @since 1.9
* @since 9
*/
public class SubmissionPublisher<T> implements Flow.Publisher<T>,
AutoCloseable {

@ -974,7 +974,7 @@ public final class Matcher implements MatchResult {
* @throws IndexOutOfBoundsException
* If the replacement string refers to a capturing group
* that does not exist in the pattern
* @since 1.9
* @since 9
*/
public Matcher appendReplacement(StringBuilder sb, String replacement) {
// If no match, return error
@ -1117,7 +1117,7 @@ public final class Matcher implements MatchResult {
*
* @return The target string builder
*
* @since 1.9
* @since 9
*/
public StringBuilder appendTail(StringBuilder sb) {
sb.append(text, lastAppendPosition, getTextLength());
@ -1229,7 +1229,7 @@ public final class Matcher implements MatchResult {
* @throws ConcurrentModificationException if it is detected, on a
* best-effort basis, that the replacer function modified this
* matcher's state
* @since 1.9
* @since 9
*/
public String replaceAll(Function<MatchResult, String> replacer) {
Objects.requireNonNull(replacer);
@ -1273,7 +1273,7 @@ public final class Matcher implements MatchResult {
* modification is detected.
*
* @return a sequential stream of match results.
* @since 1.9
* @since 9
*/
public Stream<MatchResult> results() {
class MatchResultIterator implements Iterator<MatchResult> {
@ -1451,7 +1451,7 @@ public final class Matcher implements MatchResult {
* @throws ConcurrentModificationException if it is detected, on a
* best-effort basis, that the replacer function modified this
* matcher's state
* @since 1.9
* @since 9
*/
public String replaceFirst(Function<MatchResult, String> replacer) {
Objects.requireNonNull(replacer);

@ -329,7 +329,7 @@ public interface DoubleStream extends BaseStream<Double, DoubleStream> {
* predicate to apply to elements to determine the longest
* prefix of elements.
* @return the new stream
* @since 1.9
* @since 9
*/
default DoubleStream takeWhile(DoublePredicate predicate) {
Objects.requireNonNull(predicate);
@ -396,7 +396,7 @@ public interface DoubleStream extends BaseStream<Double, DoubleStream> {
* predicate to apply to elements to determine the longest
* prefix of elements.
* @return the new stream
* @since 1.9
* @since 9
*/
default DoubleStream dropWhile(DoublePredicate predicate) {
Objects.requireNonNull(predicate);

@ -326,7 +326,7 @@ public interface IntStream extends BaseStream<Integer, IntStream> {
* predicate to apply to elements to determine the longest
* prefix of elements.
* @return the new stream
* @since 1.9
* @since 9
*/
default IntStream takeWhile(IntPredicate predicate) {
Objects.requireNonNull(predicate);
@ -392,7 +392,7 @@ public interface IntStream extends BaseStream<Integer, IntStream> {
* predicate to apply to elements to determine the longest
* prefix of elements.
* @return the new stream
* @since 1.9
* @since 9
*/
default IntStream dropWhile(IntPredicate predicate) {
Objects.requireNonNull(predicate);

@ -327,7 +327,7 @@ public interface LongStream extends BaseStream<Long, LongStream> {
* predicate to apply to elements to determine the longest
* prefix of elements.
* @return the new stream
* @since 1.9
* @since 9
*/
default LongStream takeWhile(LongPredicate predicate) {
Objects.requireNonNull(predicate);
@ -394,7 +394,7 @@ public interface LongStream extends BaseStream<Long, LongStream> {
* predicate to apply to elements to determine the longest
* prefix of elements.
* @return the new stream
* @since 1.9
* @since 9
*/
default LongStream dropWhile(LongPredicate predicate) {
Objects.requireNonNull(predicate);

@ -533,7 +533,7 @@ public interface Stream<T> extends BaseStream<T, Stream<T>> {
* predicate to apply to elements to determine the longest
* prefix of elements.
* @return the new stream
* @since 1.9
* @since 9
*/
default Stream<T> takeWhile(Predicate<? super T> predicate) {
Objects.requireNonNull(predicate);
@ -599,7 +599,7 @@ public interface Stream<T> extends BaseStream<T, Stream<T>> {
* predicate to apply to elements to determine the longest
* prefix of elements.
* @return the new stream
* @since 1.9
* @since 9
*/
default Stream<T> dropWhile(Predicate<? super T> predicate) {
Objects.requireNonNull(predicate);
@ -1146,7 +1146,7 @@ public interface Stream<T> extends BaseStream<T, Stream<T>> {
* @param <T> the type of stream elements
* @return a stream with a single element if the specified element
* is non-null, otherwise an empty stream
* @since 1.9
* @since 9
*/
public static<T> Stream<T> ofNullable(T t) {
return t == null ? Stream.empty()

@ -43,7 +43,7 @@ import java.util.function.Predicate;
* Factory for instances of a takeWhile and dropWhile operations
* that produce subsequences of their input stream.
*
* @since 1.9
* @since 9
*/
final class WhileOps {

@ -44,7 +44,7 @@ import sun.nio.ch.DirectBuffer;
* {@link NullPointerException} to be thrown.
* </p>
*
* @since 1.9
* @since 9
*/
public final class CRC32C implements Checksum {

@ -51,7 +51,7 @@ public interface Checksum {
* @throws NullPointerException
* if {@code b} is {@code null}
*
* @since 1.9
* @since 9
*/
default public void update(byte[] b) {
update(b, 0, b.length);
@ -99,7 +99,7 @@ public interface Checksum {
* @throws NullPointerException
* if {@code buffer} is {@code null}
*
* @since 1.9
* @since 9
*/
default public void update(ByteBuffer buffer) {
int pos = buffer.position();

@ -220,7 +220,7 @@ class ZipEntry implements ZipConstants, Cloneable {
* The last modification time of the entry in local date-time
*
* @see #getTimeLocal()
* @since 1.9
* @since 9
*/
public void setTimeLocal(LocalDateTime time) {
int year = time.getYear() - 1980;
@ -259,7 +259,7 @@ class ZipEntry implements ZipConstants, Cloneable {
* @return The last modification time of the entry in local date-time
*
* @see #setTimeLocal(LocalDateTime)
* @since 1.9
* @since 9
*/
public LocalDateTime getTimeLocal() {
if (mtime != null) {

@ -117,7 +117,7 @@ import java.lang.annotation.*;
* and that (2) for all methods of that class annotated with
* {@code @HotSpotIntrinsicCandidate} there is an intrinsic in the list.
*
* @since 1.9
* @since 9
*/
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
@Retention(RetentionPolicy.RUNTIME)

@ -63,6 +63,6 @@
* @see sun.util.logging.PlatformLogger.Bridge
* @see sun.util.logging.internal
*
* @since 1.9
* @since 9
*/
package jdk.internal.logger;

@ -1081,7 +1081,7 @@ public final class Unsafe {
* @return the value fetched from the indicated object
* @throws RuntimeException No defined exceptions are thrown, not even
* {@link NullPointerException}
* @since 1.9
* @since 9
*/
@HotSpotIntrinsicCandidate
public final long getLongUnaligned(Object o, long offset) {
@ -1115,7 +1115,7 @@ public final class Unsafe {
* @param offset The offset in bytes from the start of the object
* @param bigEndian The endianness of the value
* @return the value fetched from the indicated object
* @since 1.9
* @since 9
*/
public final long getLongUnaligned(Object o, long offset, boolean bigEndian) {
return convEndian(bigEndian, getLongUnaligned(o, offset));
@ -1193,7 +1193,7 @@ public final class Unsafe {
* @param x the value to store
* @throws RuntimeException No defined exceptions are thrown, not even
* {@link NullPointerException}
* @since 1.9
* @since 9
*/
@HotSpotIntrinsicCandidate
public final void putLongUnaligned(Object o, long offset, long x) {
@ -1231,7 +1231,7 @@ public final class Unsafe {
* @param bigEndian The endianness of the value
* @throws RuntimeException No defined exceptions are thrown, not even
* {@link NullPointerException}
* @since 1.9
* @since 9
*/
public final void putLongUnaligned(Object o, long offset, long x, boolean bigEndian) {
putLongUnaligned(o, offset, convEndian(bigEndian, x));

@ -49,7 +49,7 @@ import sun.security.util.DerValue;
* </pre>
*
* @see ResponderId.Type
* @since 1.9
* @since 9
*/
public final class ResponderId {
@ -58,7 +58,7 @@ public final class ResponderId {
* {@code ResponderId}.
*
* @see ResponderId
* @since 1.9
* @since 9
*/
public static enum Type {
/**

@ -41,7 +41,7 @@ import java.util.*;
* Models a service that provides support for a particular client key exchange
* mode. Currently used to implement Kerberos-related cipher suites.
*
* @since 1.9
* @since 9
*/
public interface ClientKeyExchangeService {

@ -37,7 +37,7 @@ import sun.security.util.Debug;
/**
* This class delegates to a primary or secondary keystore implementation.
*
* @since 1.9
* @since 9
*/
public class KeyStoreDelegator extends KeyStoreSpi {

@ -55,7 +55,7 @@ import java.util.function.Supplier;
/**
* Utility class with different datatransfer helper functions
*
* @since 1.9
* @since 9
*/
public class DataFlavorUtil {

@ -35,7 +35,7 @@ import java.util.function.Supplier;
* to enrich it's functionality
*
* @author Petr Pchelko
* @since 1.9
* @since 9
*/
public interface DesktopDatatransferService {

@ -965,7 +965,7 @@ public class RenderingHints
* <li>{@link #VALUE_RESOLUTION_VARIANT_SIZE_FIT}
* <li>{@link #VALUE_RESOLUTION_VARIANT_DPI_FIT}
* </ul>
* @since 1.9
* @since 9
*/
public static final Key KEY_RESOLUTION_VARIANT =
SunHints.KEY_RESOLUTION_VARIANT;
@ -976,7 +976,7 @@ public class RenderingHints
* of the platform
*
* @see #KEY_RESOLUTION_VARIANT
* @since 1.9
* @since 9
*/
public static final Object VALUE_RESOLUTION_VARIANT_DEFAULT =
SunHints.VALUE_RESOLUTION_VARIANT_DEFAULT;
@ -986,7 +986,7 @@ public class RenderingHints
* is always used.
*
* @see #KEY_RESOLUTION_VARIANT
* @since 1.9
* @since 9
*/
public static final Object VALUE_RESOLUTION_VARIANT_BASE =
SunHints.VALUE_RESOLUTION_VARIANT_BASE;
@ -997,7 +997,7 @@ public class RenderingHints
* context.
*
* @see #KEY_RESOLUTION_VARIANT
* @since 1.9
* @since 9
*/
public static final Object VALUE_RESOLUTION_VARIANT_SIZE_FIT =
SunHints.VALUE_RESOLUTION_VARIANT_SIZE_FIT;
@ -1007,7 +1007,7 @@ public class RenderingHints
* chosen based only on the DPI of the screen.
*
* @see #KEY_RESOLUTION_VARIANT
* @since 1.9
* @since 9
*/
public static final Object VALUE_RESOLUTION_VARIANT_DPI_FIT =
SunHints.VALUE_RESOLUTION_VARIANT_DPI_FIT;

@ -321,12 +321,12 @@ public final class NumericShaper implements java.io.Serializable {
MEETEI_MAYEK ('\uabf0', '\uabc0', '\uac00'),
/**
* The Sinhala range with the Sinhala digits.
* @since 1.9
* @since 9
*/
SINHALA ('\u0de6', '\u0d80', '\u0e00'),
/**
* The Myanmar Extended-B range with the Myanmar Tai Laing digits.
* @since 1.9
* @since 9
*/
MYANMAR_TAI_LAING ('\ua9f0', '\ua9e0', '\uaa00');

@ -59,7 +59,7 @@ import java.awt.Image;
* @see java.awt.Image
* @see java.awt.image.MultiResolutionImage
*
* @since 1.9
* @since 9
*/
public abstract class AbstractMultiResolutionImage extends java.awt.Image
implements MultiResolutionImage {
@ -96,7 +96,7 @@ public abstract class AbstractMultiResolutionImage extends java.awt.Image
*
* @return the base image of the set of multi-resolution images
*
* @since 1.9
* @since 9
*/
protected abstract Image getBaseImage();
}

@ -50,7 +50,7 @@ import java.util.Objects;
* @see java.awt.image.MultiResolutionImage
* @see java.awt.image.AbstractMultiResolutionImage
*
* @since 1.9
* @since 9
*/
public class BaseMultiResolutionImage extends AbstractMultiResolutionImage {
@ -66,7 +66,7 @@ public class BaseMultiResolutionImage extends AbstractMultiResolutionImage {
* @throws NullPointerException if the specified {@code resolutionVariants}
* contains one or more null elements
*
* @since 1.9
* @since 9
*/
public BaseMultiResolutionImage(Image... resolutionVariants) {
this(0, resolutionVariants);
@ -86,7 +86,7 @@ public class BaseMultiResolutionImage extends AbstractMultiResolutionImage {
* negative or greater than or equal to {@code resolutionVariants}
* length.
*
* @since 1.9
* @since 9
*/
public BaseMultiResolutionImage(int baseImageIndex,
Image... resolutionVariants) {

@ -52,7 +52,7 @@ import java.util.List;
* @see java.awt.Toolkit#getImage(java.lang.String filename)
* @see java.awt.Toolkit#getImage(java.net.URL url)
*
* @since 1.9
* @since 9
*/
public interface MultiResolutionImage {
@ -67,7 +67,7 @@ public interface MultiResolutionImage {
* {@code destImageHeight} is less than or equal to zero, infinity,
* or NaN.
*
* @since 1.9
* @since 9
*/
Image getResolutionVariant(double destImageWidth, double destImageHeight);
@ -78,7 +78,7 @@ public interface MultiResolutionImage {
* Note that many implementations might return an unmodifiable list.
* <p>
* @return list of resolution variants.
* @since 1.9
* @since 9
*/
public List<Image> getResolutionVariants();
}

@ -39,7 +39,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* which does not imply the automatic analysis.
*
* @see BeanInfo#getPropertyDescriptors
* @since 1.9
* @since 9
*
* @author Sergey A. Malenkov
*/

@ -152,7 +152,7 @@ public class IndexedPropertyDescriptor extends PropertyDescriptor {
* and the {@code value} is the automatically generated property info
* @param bound the flag indicating whether it is possible to treat this property as a bound property
*
* @since 1.9
* @since 9
*/
IndexedPropertyDescriptor(Entry<String,PropertyInfo> entry, boolean bound) {
super(entry, bound);

@ -39,7 +39,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* which does not imply the automatic analysis.
*
* @see BeanInfo#getBeanDescriptor
* @since 1.9
* @since 9
*
* @author Sergey A. Malenkov
*/

@ -150,7 +150,7 @@ public class PropertyDescriptor extends FeatureDescriptor {
* and the {@code value} is the automatically generated property info
* @param bound the flag indicating whether it is possible to treat this property as a bound property
*
* @since 1.9
* @since 9
*/
PropertyDescriptor(Entry<String,PropertyInfo> entry, boolean bound) {
String base = entry.getKey();

@ -43,7 +43,7 @@ package javax.accessibility;
*
* @see java.awt.Toolkit#getDefaultToolkit
* @see java.util.ServiceLoader
* @since 1.9
* @since 9
*/
public abstract class AccessibilityProvider {

@ -1194,7 +1194,7 @@ The DTD for the TIFF native image metadata format is as follows:
]&gt;
</pre>
@since 1.9
@since 9
</body>
</html>

@ -55,7 +55,7 @@ import java.util.List;
* </li>
* </ul>
*
* @since 1.9
* @since 9
* @see <a href="http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf"> TIFF 6.0 Specification</a>
*/
public class BaselineTIFFTagSet extends TIFFTagSet {

@ -35,7 +35,7 @@ import java.util.List;
* <p> The definitions of the data types referenced by the field
* definitions may be found in the {@link TIFFTag TIFFTag} class.
*
* @since 1.9
* @since 9
* @see ExifTIFFTagSet
*/
public class ExifGPSTagSet extends TIFFTagSet {

@ -31,7 +31,7 @@ import java.util.List;
/**
* A class representing the tags found in an Exif Interoperability IFD.
*
* @since 1.9
* @since 9
* @see ExifTIFFTagSet
*/
public class ExifInteroperabilityTagSet extends TIFFTagSet {

@ -34,7 +34,7 @@ import java.util.List;
* TIFFImageReadParam.addAllowedTagSet} method if Exif
* support is desired.
*
* @since 1.9
* @since 9
*/
public class ExifParentTIFFTagSet extends TIFFTagSet {

@ -39,7 +39,7 @@ import java.util.List;
* <p> The definitions of the data types referenced by the field
* definitions may be found in the {@link TIFFTag TIFFTag} class.
*
* @since 1.9
* @since 9
*/
public class ExifTIFFTagSet extends TIFFTagSet {

@ -31,7 +31,7 @@ import java.util.List;
* A class representing the extra tags found in a
* <a href="http://tools.ietf.org/html/rfc2306"> TIFF-F</a> (RFC 2036) file.
*
* @since 1.9
* @since 9
*/
public class FaxTIFFTagSet extends TIFFTagSet {

@ -39,7 +39,7 @@ import java.util.List;
* <p>The definitions of the data types referenced by the field
* definitions may be found in the {@link TIFFTag TIFFTag} class.</p>
*
* @since 1.9
* @since 9
*/
public class GeoTIFFTagSet extends TIFFTagSet {

@ -95,7 +95,7 @@ import com.sun.imageio.plugins.tiff.TIFFImageMetadata;
* or removing <code>TIFFField</code>s or <code>TIFFTagSet</code>s, it
* <i>must</i> be synchronized externally.</p>
*
* @since 1.9
* @since 9
* @see IIOMetadata
* @see TIFFField
* @see TIFFTag

@ -257,7 +257,7 @@ import com.sun.imageio.plugins.tiff.TIFFIFD;
*
* </table>
*
* @since 1.9
* @since 9
* @see TIFFDirectory
* @see TIFFTag
*/

@ -46,7 +46,7 @@ import javax.imageio.ImageReadParam;
* <code>ExifParentTIFFTagSet</code>, and <code>GeoTIFFTagSet</code>
* are included.
*
* @since 1.9
* @since 9
*/
public class TIFFImageReadParam extends ImageReadParam {

@ -40,7 +40,7 @@ import java.util.TreeMap;
* tiff stream are defined in the {@link BaselineTIFFTagSet
* BaselineTIFFTagSet} class.
*
* @since 1.9
* @since 9
* @see BaselineTIFFTagSet
* @see TIFFField
* @see TIFFTagSet

@ -44,7 +44,7 @@ import java.util.TreeSet;
* name, legal data types, and mnemonic names for some or all of ts
* data values.
*
* @since 1.9
* @since 9
* @see TIFFTag
*/
public class TIFFTagSet {

@ -46,6 +46,6 @@ specification and usage notes</a>.
<br>
<br>
@since 1.9
@since 9
</body>
</html>

@ -616,7 +616,7 @@ public abstract class JComponent extends Container implements Serializable,
* Returns the look and feel delegate that renders this component.
*
* @return the {@code ComponentUI} object that renders this component
* @since 1.9
* @since 9
*/
@Transient
public ComponentUI getUI() {

@ -45,7 +45,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* with the {@code isContainer} attribute allow to directly specify
* whether a Swing component is a container or not.
*
* @since 1.9
* @since 9
*
* @author Sergey A. Malenkov
*/

@ -3023,7 +3023,7 @@ public abstract class AbstractDocument implements Document, Serializable {
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public void lockEdit() {
@ -3032,7 +3032,7 @@ public abstract class AbstractDocument implements Document, Serializable {
/**
* {@inheritDoc}
* @since 1.9
* @since 9
*/
@Override
public void unlockEdit() {

@ -39,7 +39,7 @@ import java.util.function.Supplier;
* {@code DesktopDatatransferService} interface.
*
* @author Petr Pchelko
* @since 1.9
* @since 9
*/
public class DesktopDatatransferServiceImpl implements DesktopDatatransferService {

@ -28,7 +28,7 @@ import javax.swing.undo.UndoableEdit;
/**
* UndoableEdit support for undo/redo actions synchronization
* @since 1.9
* @since 9
*/
public interface UndoableEditLockSupport extends UndoableEdit {
/**

@ -423,7 +423,7 @@ public class FileHandler extends StreamHandler {
* @exception IllegalArgumentException if {@code limit < 0}, or {@code count < 1}.
* @exception IllegalArgumentException if pattern is an empty string
*
* @since 1.9
* @since 9
*
*/
public FileHandler(String pattern, long limit, int count, boolean append)

@ -2548,7 +2548,7 @@ public class LogManager {
* caller does not have LoggingPermission("control").
* @throws NullPointerException if the listener is null.
*
* @since 1.9
* @since 9
*/
public LogManager addConfigurationListener(Runnable listener) {
final Runnable r = Objects.requireNonNull(listener);
@ -2575,7 +2575,7 @@ public class LogManager {
* @throws SecurityException if a security manager exists and if the
* caller does not have LoggingPermission("control").
*
* @since 1.9
* @since 9
*/
public void removeConfigurationListener(Runnable listener) {
final Runnable key = Objects.requireNonNull(listener);

@ -138,7 +138,7 @@ public class LogRecord implements java.io.Serializable {
/**
* Event time.
* @since 1.9
* @since 9
*/
private Instant instant;
@ -158,7 +158,7 @@ public class LogRecord implements java.io.Serializable {
* The event time instant can be reconstructed using
* <code>Instant.ofEpochSecond(millis/1000, (millis % 1000) * 1000_000 + nanoAdjustment)</code>
* <p>
* Since: 1.9
* Since: 9
* @serialField thrown Throwable The Throwable (if any) associated with log
* message
* @serialField loggerName String Name of the source Logger
@ -207,7 +207,7 @@ public class LogRecord implements java.io.Serializable {
* The sequence property will be initialized with a new unique value.
* These sequence values are allocated in increasing order within a VM.
* <p>
* Since JDK 1.9, the event time is represented by an {@link Instant}.
* Since JDK 9, the event time is represented by an {@link Instant}.
* The instant property will be initialized to the {@linkplain
* Instant#now() current instant}, using the best available
* {@linkplain Clock#systemUTC() clock} on the system.
@ -505,7 +505,7 @@ public class LogRecord implements java.io.Serializable {
*
* @return the instant that the event occurred.
*
* @since 1.9
* @since 9
*/
public Instant getInstant() {
return instant;
@ -525,7 +525,7 @@ public class LogRecord implements java.io.Serializable {
* @throws ArithmeticException if numeric overflow would occur while
* calling {@link Instant#toEpochMilli() instant.toEpochMilli()}.
*
* @since 1.9
* @since 9
*/
public void setInstant(Instant instant) {
instant.toEpochMilli();

@ -1300,7 +1300,7 @@ public class Logger {
* can be {@code null}.
* @param msg The string message (or a key in the message catalog)
* @param params Parameters to the message (optional, may be none).
* @since 1.9
* @since 9
*/
public void logrb(Level level, ResourceBundle bundle, String msg, Object... params) {
if (!isLoggable(level)) {
@ -1417,7 +1417,7 @@ public class Logger {
* can be {@code null}.
* @param msg The string message (or a key in the message catalog)
* @param thrown Throwable associated with the log message.
* @since 1.9
* @since 9
*/
public void logrb(Level level, ResourceBundle bundle, String msg,
Throwable thrown) {

@ -50,6 +50,6 @@
* @see sun.util.logging.PlatformLogger.Bridge
* @see jdk.internal.logger
*
* @since 1.9
* @since 9
*/
package sun.util.logging.internal;

@ -590,7 +590,7 @@ public class ThreadInfo {
* @return {@code true} if the thread is a daemon thread,
* {@code false} otherwise.
* @see Thread#isDaemon
* @since 1.9
* @since 9
*/
public boolean isDaemon() {
return daemon;
@ -602,7 +602,7 @@ public class ThreadInfo {
*
* @return The priority of the thread associated with this
* {@code ThreadInfo}.
* @since 1.9
* @since 9
*/
public int getPriority() {
return priority;

@ -62,7 +62,7 @@ import static java.lang.annotation.RetentionPolicy.*;
* the JMX introspection will give an absolute precedence to the latter one.
* </p>
*
* @since 1.9
* @since 9
*/
@Documented @Target(CONSTRUCTOR) @Retention(RUNTIME)
public @interface ConstructorParameters {

@ -34,7 +34,7 @@ import java.security.cert.CertStoreParameters;
* Provider class for the JdkLDAP provider.
* Supports LDAP cert store.
*
* @since 1.9
* @since 9
*/
public final class JdkLDAP extends Provider {

@ -54,7 +54,7 @@ import sun.security.x509.X500Name;
* Core implementation of a LDAP Cert Store.
* @see java.security.cert.CertStore
*
* @since 1.9
* @since 9
*/
final class LDAPCertStoreImpl {

@ -44,7 +44,7 @@ import javax.security.auth.DestroyFailedException;
* The key material of an {@code EncryptionKey} is defined as the value
* of the {@code keyValue} above.
*
* @since 1.9
* @since 9
*/
public final class EncryptionKey implements SecretKey {

@ -45,7 +45,7 @@ import java.util.Objects;
* }
* </pre>
*
* @since 1.9
* @since 9
*/
public final class KerberosCredMessage implements Destroyable {

@ -65,7 +65,7 @@ import java.util.Set;
/**
* The provider for TLS_KRB_ cipher suites.
*
* @since 1.9
* @since 9
*/
public class Krb5KeyExchangeService implements ClientKeyExchangeService {

@ -1538,7 +1538,7 @@ throws SQLException;
* prior to returning the {@code PooledConnection} back to the cache</li>
* </ul>
* @throws SQLException if an error occurs
* @since 1.9
* @since 9
* @see endRequest
* @see javax.sql.PooledConnection
*/
@ -1580,7 +1580,7 @@ throws SQLException;
* prior to returning the {@code PooledConnection} back to the cache</li>
* </ul>
* @throws SQLException if an error occurs
* @since 1.9
* @since 9
* @see beginRequest
* @see javax.sql.PooledConnection
*/
@ -1614,7 +1614,7 @@ throws SQLException;
* this method is called on a closed {@code connection}; or
* the {@code timeout} value is less than 0.
* @throws SQLFeatureNotSupportedException if the driver does not support sharding
* @since 1.9
* @since 9
* @see ShardingKey
* @see ShardingKeyBuilder
*/
@ -1645,7 +1645,7 @@ throws SQLException;
* this method is called on a closed {@code connection}; the {@code shardingkey}
* is {@code null}; or the {@code timeout} value is less than 0.
* @throws SQLFeatureNotSupportedException if the driver does not support sharding
* @since 1.9
* @since 9
* @see ShardingKey
* @see ShardingKeyBuilder
*/
@ -1671,7 +1671,7 @@ throws SQLException;
* the {@code shardingkey} is {@code null}; or
* a {@code superSharedingKey} is specified without a {@code shardingKey}
* @throws SQLFeatureNotSupportedException if the driver does not support sharding
* @since 1.9
* @since 9
* @see ShardingKey
* @see ShardingKeyBuilder
*/
@ -1694,7 +1694,7 @@ throws SQLException;
* this method is called on a closed {@code connection}; or the
* {@code shardkingKey} is {@code null}
* @throws SQLFeatureNotSupportedException if the driver does not support sharding
* @since 1.9
* @since 9
* @see ShardingKey
* @see ShardingKeyBuilder
*/

@ -49,7 +49,7 @@ package java.sql;
* .build();
* }</pre>
*
* @since 1.9
* @since 9
*
*/
public interface ConnectionBuilder {

Some files were not shown because too many files have changed in this diff Show More