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

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

View file

@ -784,6 +784,7 @@ import jdk.internal.util.regex.Grapheme;
* O'Reilly and Associates, 2006.</a>
* </p>
*
* @spec https://www.unicode.org/reports/tr18 Unicode Regular Expressions
* @see java.lang.String#split(String, int)
* @see java.lang.String#split(String)
*
@ -939,6 +940,8 @@ public final class Pattern
* folding.
* <p>
* Specifying this flag may impose a performance penalty. </p>
*
* @spec https://www.unicode.org/reports/tr18 Unicode Regular Expressions
* @since 1.7
*/
public static final int UNICODE_CHARACTER_CLASS = 0x100;