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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -152,7 +152,7 @@ public class IndexedPropertyDescriptor extends PropertyDescriptor {
* and the {@code value} is the automatically generated property info * 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 * @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) { IndexedPropertyDescriptor(Entry<String,PropertyInfo> entry, boolean bound) {
super(entry, bound); super(entry, bound);

View file

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

View file

@ -150,7 +150,7 @@ public class PropertyDescriptor extends FeatureDescriptor {
* and the {@code value} is the automatically generated property info * 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 * @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) { PropertyDescriptor(Entry<String,PropertyInfo> entry, boolean bound) {
String base = entry.getKey(); String base = entry.getKey();

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

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