mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8305206: Add @spec tags in java.base/java.* (part 1)
Reviewed-by: alanb, naoto, darcy, lancea, dfuchs, iris, mchung
This commit is contained in:
parent
ccbb0e8d89
commit
c6bd489cc8
60 changed files with 268 additions and 2 deletions
|
@ -209,6 +209,12 @@ import sun.security.action.GetPropertyAction;
|
|||
* is implementation dependent, and callers should not rely on such
|
||||
* checks for full URL validation.
|
||||
*
|
||||
* @spec https://www.rfc-editor.org/info/rfc2396
|
||||
* RFC 2396: Uniform Resource Identifiers (URI): Generic Syntax
|
||||
* @spec https://www.rfc-editor.org/info/rfc2732
|
||||
* RFC 2732: Format for Literal IPv6 Addresses in URL's
|
||||
* @spec https://www.rfc-editor.org/info/rfc3986
|
||||
* RFC 3986: Uniform Resource Identifier (URI): Generic Syntax
|
||||
* @author James Gosling
|
||||
* @since 1.0
|
||||
*/
|
||||
|
@ -393,6 +399,8 @@ public final class URL implements java.io.Serializable {
|
|||
* is a negative number other than -1, or if the
|
||||
* underlying stream handler implementation rejects,
|
||||
* or is known to reject, the {@code URL}
|
||||
* @spec https://www.rfc-editor.org/info/rfc2373 RFC 2373: IP Version 6 Addressing Architecture
|
||||
* @spec https://www.rfc-editor.org/info/rfc2732 RFC 2732: Format for Literal IPv6 Addresses in URL's
|
||||
* @see java.lang.System#getProperty(java.lang.String)
|
||||
* @see java.net.URL#setURLStreamHandlerFactory(
|
||||
* java.net.URLStreamHandlerFactory)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue