Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
56b8c6e7
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
56b8c6e7
编写于
7月 10, 2013
作者:
J
juh
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8020318: Fix doclint issues in java.net
Reviewed-by: darcy, khazra
上级
fa984cd4
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
32 addition
and
23 deletion
+32
-23
src/share/classes/java/net/CookieStore.java
src/share/classes/java/net/CookieStore.java
+3
-1
src/share/classes/java/net/HttpURLPermission.java
src/share/classes/java/net/HttpURLPermission.java
+8
-6
src/share/classes/java/net/Inet4Address.java
src/share/classes/java/net/Inet4Address.java
+2
-2
src/share/classes/java/net/Inet6Address.java
src/share/classes/java/net/Inet6Address.java
+2
-2
src/share/classes/java/net/InetAddress.java
src/share/classes/java/net/InetAddress.java
+2
-3
src/share/classes/java/net/ProtocolFamily.java
src/share/classes/java/net/ProtocolFamily.java
+3
-1
src/share/classes/java/net/SocketOption.java
src/share/classes/java/net/SocketOption.java
+5
-1
src/share/classes/java/net/URI.java
src/share/classes/java/net/URI.java
+7
-7
未找到文件。
src/share/classes/java/net/CookieStore.java
浏览文件 @
56b8c6e7
/*
/*
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005,
2013,
Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This code is free software; you can redistribute it and/or modify it
* This code is free software; you can redistribute it and/or modify it
...
@@ -75,6 +75,8 @@ public interface CookieStore {
...
@@ -75,6 +75,8 @@ public interface CookieStore {
* @return an immutable list of HttpCookie,
* @return an immutable list of HttpCookie,
* return empty list if no cookies match the given URI
* return empty list if no cookies match the given URI
*
*
* @param uri the uri associated with the cookies to be returned
*
* @throws NullPointerException if <tt>uri</tt> is <tt>null</tt>
* @throws NullPointerException if <tt>uri</tt> is <tt>null</tt>
*
*
* @see #add
* @see #add
...
...
src/share/classes/java/net/HttpURLPermission.java
浏览文件 @
56b8c6e7
...
@@ -47,6 +47,7 @@ import java.security.Permission;
...
@@ -47,6 +47,7 @@ import java.security.Permission;
* in {@link java.io.FilePermission}. There are three different ways
* in {@link java.io.FilePermission}. There are three different ways
* as the following examples show:
* as the following examples show:
* <table border>
* <table border>
* <caption>URL Examples</caption>
* <tr><th>Example url</th><th>Description</th></tr>
* <tr><th>Example url</th><th>Description</th></tr>
* <tr><td style="white-space:nowrap;">http://www.oracle.com/a/b/c.html</td>
* <tr><td style="white-space:nowrap;">http://www.oracle.com/a/b/c.html</td>
* <td>A url which identifies a specific (single) resource</td>
* <td>A url which identifies a specific (single) resource</td>
...
@@ -57,7 +58,7 @@ import java.security.Permission;
...
@@ -57,7 +58,7 @@ import java.security.Permission;
* which only differ in the final path component, represented by the '*'.
* which only differ in the final path component, represented by the '*'.
* </td>
* </td>
* </tr>
* </tr>
* <tr><td>http://www.oracle.com/a/b/-</
li
>
* <tr><td>http://www.oracle.com/a/b/-</
td
>
* <td>The '-' character refers to all resources recursively below the
* <td>The '-' character refers to all resources recursively below the
* preceding path (eg. http://www.oracle.com/a/b/c/d/e.html matches this
* preceding path (eg. http://www.oracle.com/a/b/c/d/e.html matches this
* example).
* example).
...
@@ -164,6 +165,8 @@ public final class HttpURLPermission extends Permission {
...
@@ -164,6 +165,8 @@ public final class HttpURLPermission extends Permission {
* methods and request headers by invoking the two argument
* methods and request headers by invoking the two argument
* constructor as follows: HttpURLPermission(url, "*:*")
* constructor as follows: HttpURLPermission(url, "*:*")
*
*
* @param url the url string
*
* @throws IllegalArgumentException if url does not result in a valid {@link URI}
* @throws IllegalArgumentException if url does not result in a valid {@link URI}
*/
*/
public
HttpURLPermission
(
String
url
)
{
public
HttpURLPermission
(
String
url
)
{
...
@@ -204,11 +207,10 @@ public final class HttpURLPermission extends Permission {
...
@@ -204,11 +207,10 @@ public final class HttpURLPermission extends Permission {
* <li>if the path or paths specified by p's url are contained in the
* <li>if the path or paths specified by p's url are contained in the
* set of paths specified by this's url, then return true
* set of paths specified by this's url, then return true
* <li>otherwise, return false</li>
* <li>otherwise, return false</li>
* </ol>
* </ul>
* <p>
* <p>Some examples of how paths are matched are shown below:
* Some examples of how paths are matched are shown below:
* <p><table border>
* <p>
* <caption>Examples of Path Matching</caption>
* <table border>
* <tr><th>this's path</th><th>p's path</th><th>match</th></tr>
* <tr><th>this's path</th><th>p's path</th><th>match</th></tr>
* <tr><td>/a/b</td><td>/a/b</td><td>yes</td></tr>
* <tr><td>/a/b</td><td>/a/b</td><td>yes</td></tr>
* <tr><td>/a/b/*</td><td>/a/b/c</td><td>yes</td></tr>
* <tr><td>/a/b/*</td><td>/a/b/c</td><td>yes</td></tr>
...
...
src/share/classes/java/net/Inet4Address.java
浏览文件 @
56b8c6e7
/*
/*
* Copyright (c) 2000, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This code is free software; you can redistribute it and/or modify it
* This code is free software; you can redistribute it and/or modify it
...
@@ -36,7 +36,7 @@ import java.io.ObjectStreamException;
...
@@ -36,7 +36,7 @@ import java.io.ObjectStreamException;
* and <a href="http://www.ietf.org/rfc/rfc2365.txt"><i>RFC 2365:
* and <a href="http://www.ietf.org/rfc/rfc2365.txt"><i>RFC 2365:
* Administratively Scoped IP Multicast</i></a>
* Administratively Scoped IP Multicast</i></a>
*
*
* <h
4> <A NAME="format">Textual representation of IP addresses</a> </h4
>
* <h
3> <A NAME="format">Textual representation of IP addresses</a> </h3
>
*
*
* Textual representation of IPv4 address used as input to methods
* Textual representation of IPv4 address used as input to methods
* takes one of the following forms:
* takes one of the following forms:
...
...
src/share/classes/java/net/Inet6Address.java
浏览文件 @
56b8c6e7
...
@@ -35,7 +35,7 @@ import java.util.Enumeration;
...
@@ -35,7 +35,7 @@ import java.util.Enumeration;
* Defined by <a href="http://www.ietf.org/rfc/rfc2373.txt">
* Defined by <a href="http://www.ietf.org/rfc/rfc2373.txt">
* <i>RFC 2373: IP Version 6 Addressing Architecture</i></a>.
* <i>RFC 2373: IP Version 6 Addressing Architecture</i></a>.
*
*
* <h
4> <A NAME="format">Textual representation of IP addresses</a> </h4
>
* <h
3> <A NAME="format">Textual representation of IP addresses</a> </h3
>
*
*
* Textual representation of IPv6 address used as input to methods
* Textual representation of IPv6 address used as input to methods
* takes one of the following forms:
* takes one of the following forms:
...
@@ -156,7 +156,7 @@ import java.util.Enumeration;
...
@@ -156,7 +156,7 @@ import java.util.Enumeration;
* system. Usually, the numeric values can be determined through administration
* system. Usually, the numeric values can be determined through administration
* tools on the system. Each interface may have multiple values, one for each
* tools on the system. Each interface may have multiple values, one for each
* scope. If the scope is unspecified, then the default value used is zero.</li>
* scope. If the scope is unspecified, then the default value used is zero.</li>
* <
p><
li><i>As a string.</i> This must be the exact string that is returned by
* <li><i>As a string.</i> This must be the exact string that is returned by
* {@link java.net.NetworkInterface#getName()} for the particular interface in
* {@link java.net.NetworkInterface#getName()} for the particular interface in
* question. When an Inet6Address is created in this way, the numeric scope-id
* question. When an Inet6Address is created in this way, the numeric scope-id
* is determined at the time the object is created by querying the relevant
* is determined at the time the object is created by querying the relevant
...
...
src/share/classes/java/net/InetAddress.java
浏览文件 @
56b8c6e7
/*
/*
* Copyright (c) 1995, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This code is free software; you can redistribute it and/or modify it
* This code is free software; you can redistribute it and/or modify it
...
@@ -65,7 +65,7 @@ import sun.net.spi.nameservice.*;
...
@@ -65,7 +65,7 @@ import sun.net.spi.nameservice.*;
* with a host name or whether it has already done reverse host name
* with a host name or whether it has already done reverse host name
* resolution).
* resolution).
*
*
* <h
4> Address types </h4
>
* <h
3> Address types </h3
>
*
*
* <blockquote><table cellspacing=2 summary="Description of unicast and multicast address types">
* <blockquote><table cellspacing=2 summary="Description of unicast and multicast address types">
* <tr><th valign=top><i>unicast</i></th>
* <tr><th valign=top><i>unicast</i></th>
...
@@ -165,7 +165,6 @@ import sun.net.spi.nameservice.*;
...
@@ -165,7 +165,6 @@ import sun.net.spi.nameservice.*;
* <p>
* <p>
* A value of -1 indicates "cache forever".
* A value of -1 indicates "cache forever".
* </dd>
* </dd>
* <p>
* <dt><b>networkaddress.cache.negative.ttl</b> (default: 10)</dt>
* <dt><b>networkaddress.cache.negative.ttl</b> (default: 10)</dt>
* <dd>Indicates the caching policy for un-successful name lookups
* <dd>Indicates the caching policy for un-successful name lookups
* from the name service. The value is specified as as integer to
* from the name service. The value is specified as as integer to
...
...
src/share/classes/java/net/ProtocolFamily.java
浏览文件 @
56b8c6e7
/*
/*
* Copyright (c) 2007, 20
08
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 20
13
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This code is free software; you can redistribute it and/or modify it
* This code is free software; you can redistribute it and/or modify it
...
@@ -34,6 +34,8 @@ package java.net;
...
@@ -34,6 +34,8 @@ package java.net;
public
interface
ProtocolFamily
{
public
interface
ProtocolFamily
{
/**
/**
* Returns the name of the protocol family.
* Returns the name of the protocol family.
*
* @return the name of the protocol family
*/
*/
String
name
();
String
name
();
}
}
src/share/classes/java/net/SocketOption.java
浏览文件 @
56b8c6e7
/*
/*
* Copyright (c) 2007, 201
1
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This code is free software; you can redistribute it and/or modify it
* This code is free software; you can redistribute it and/or modify it
...
@@ -45,11 +45,15 @@ public interface SocketOption<T> {
...
@@ -45,11 +45,15 @@ public interface SocketOption<T> {
/**
/**
* Returns the name of the socket option.
* Returns the name of the socket option.
*
* @return the name of the socket option
*/
*/
String
name
();
String
name
();
/**
/**
* Returns the type of the socket option value.
* Returns the type of the socket option value.
*
* @return the type of the socket option value
*/
*/
Class
<
T
>
type
();
Class
<
T
>
type
();
}
}
src/share/classes/java/net/URI.java
浏览文件 @
56b8c6e7
/*
/*
* Copyright (c) 2000, 201
1
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This code is free software; you can redistribute it and/or modify it
* This code is free software; you can redistribute it and/or modify it
...
@@ -61,13 +61,13 @@ import java.lang.NullPointerException; // for javadoc
...
@@ -61,13 +61,13 @@ import java.lang.NullPointerException; // for javadoc
* and relativizing URI instances. Instances of this class are immutable.
* and relativizing URI instances. Instances of this class are immutable.
*
*
*
*
* <h
4> URI syntax and components </h4
>
* <h
3> URI syntax and components </h3
>
*
*
* At the highest level a URI reference (hereinafter simply "URI") in string
* At the highest level a URI reference (hereinafter simply "URI") in string
* form has the syntax
* form has the syntax
*
*
* <blockquote>
* <blockquote>
* [<i>scheme</i><tt><b>:</b></tt>
<i></i>
]<i>scheme-specific-part</i>[<tt><b>#</b></tt><i>fragment</i>]
* [<i>scheme</i><tt><b>:</b></tt>]<i>scheme-specific-part</i>[<tt><b>#</b></tt><i>fragment</i>]
* </blockquote>
* </blockquote>
*
*
* where square brackets [...] delineate optional components and the characters
* where square brackets [...] delineate optional components and the characters
...
@@ -334,14 +334,14 @@ import java.lang.NullPointerException; // for javadoc
...
@@ -334,14 +334,14 @@ import java.lang.NullPointerException; // for javadoc
*
*
* <ul>
* <ul>
*
*
* <li><p> The {@link
#URI(java.lang.String) <code>
single-argument
* <li><p> The {@link
plain #URI(java.lang.String)
single-argument
* constructor
</code>
} requires any illegal characters in its argument to be
* constructor} requires any illegal characters in its argument to be
* quoted and preserves any escaped octets and <i>other</i> characters that
* quoted and preserves any escaped octets and <i>other</i> characters that
* are present. </p></li>
* are present. </p></li>
*
*
* <li><p> The {@link
* <li><p> The {@link
plain
* #URI(java.lang.String,java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String)
* #URI(java.lang.String,java.lang.String,java.lang.String,int,java.lang.String,java.lang.String,java.lang.String)
*
<code>multi-argument constructors</code>
} quote illegal characters as
*
multi-argument constructors
} quote illegal characters as
* required by the components in which they appear. The percent character
* required by the components in which they appear. The percent character
* (<tt>'%'</tt>) is always quoted by these constructors. Any <i>other</i>
* (<tt>'%'</tt>) is always quoted by these constructors. Any <i>other</i>
* characters are preserved. </p></li>
* characters are preserved. </p></li>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录