-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta2
-
sparc
-
solaris_2.6
Name: dfR10049 Date: 05/18/2001
java.net.SocketPermission(String host, String action) throws
IllegalArgumentException if host is just IPv6 address.
It assumes that an IPv6 address is enclosed in []. Javadocs is silent about this.
This assumption is based on RFC 2732 specified "Format for Literal IPv6 Addresses
in URL's". So this RFC cannot be default basis for SocketPermission behavior.
^^^^^^^^
Javadoc should explicitly clarify this behavior.
======================================================================