|
Description
|
Javadoc for the SocketPermission class at:
http://java.sun.com/javase/6/docs/api/java/net/SocketPermission.html
has a typo at:
...
Similarly, if the following permission:
p1 = new SocketPermission("puffin.eng.sun.com:7777", "connect,accept"); <--
p2 = new SocketPermission("localhost:1024-", "accept,connect,listen");
is granted to some code, it allows that code to accept connections on, connect to, or listen
on any port between 1024 and 65535 on the local host.
...
The line with "p1 = ... " is redundant here.
Posted Date : 2008-08-14 16:55:53.0
|