aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/net/SocketPermission.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-05-26 12:58:02 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-05-26 12:58:02 +0000
commitb91c701d199af4c4860919595ccf2cc755418cc1 (patch)
tree86efa3b8b35f1d1070f09616f4939e1a8d3346ee /libjava/java/net/SocketPermission.java
parent8729d659a7e6d236c7012e5db5c865102fc3c916 (diff)
downloadgcc-b91c701d199af4c4860919595ccf2cc755418cc1.zip
gcc-b91c701d199af4c4860919595ccf2cc755418cc1.tar.gz
gcc-b91c701d199af4c4860919595ccf2cc755418cc1.tar.bz2
NetPermission.java, [...]: New versions from classpath.
2003-05-26 Michael Koch <konqueror@gmx.de> * java/net/NetPermission.java, java/net/NetworkInterface.java, java/net/PasswordAuthentication.java, java/net/SocketPermission.java: New versions from classpath. From-SVN: r67174
Diffstat (limited to 'libjava/java/net/SocketPermission.java')
-rw-r--r--libjava/java/net/SocketPermission.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/libjava/java/net/SocketPermission.java b/libjava/java/net/SocketPermission.java
index 6fa65f8..dea04e2 100644
--- a/libjava/java/net/SocketPermission.java
+++ b/libjava/java/net/SocketPermission.java
@@ -96,6 +96,9 @@ import java.security.PermissionCollection;
* Can accept connections from 197.197.20.1
* </pre><p>
*
+ * This class also supports IPv6 addresses. These should be specified
+ * in either RFC 2732 format or in full uncompressed form.
+ *
* @since 1.2
*
* @author Aaron M. Renn (arenn@urbanophile.com)
@@ -159,7 +162,7 @@ public final class SocketPermission extends Permission
/**
* Returns a hash code value for this object. Overrides the
- * Permission.hashCode()
+ * <code>Permission.hashCode()</code>.
*
* @return A hash code
*/
@@ -233,7 +236,7 @@ public final class SocketPermission extends Permission
* Returns true if the permission object passed it is implied by the
* this permission. This will be true if
* <p><ul>
- * <li>The argument is of type SocketPermission
+ * <li>The argument is of type <code>SocketPermission</code>
* <li>The actions list of the argument are in this object's actions
* <li>The port range of the argument is within this objects port range
* <li>The hostname is equal to or a subset of this objects hostname
@@ -247,7 +250,7 @@ public final class SocketPermission extends Permission
* wildcards
* </ul>
*
- * @param perm The Permission to check against
+ * @param perm The <code>Permission</code> to check against
*
* @return <code>true</code> if the <code>Permission</code> is implied by
* this object, <code>false</code> otherwise.