-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 1.3.0
-
Component/s: core-libs
-
beta
-
sparc
-
solaris_2.6
Name: dfC67450 Date: 04/05/2000
Javadoc states about java.net.ServerSocket.accept():
* if there is a security manager,
* the security manager's checkAccept method is called
^^^^^^^^^^^
* with s.getInetAddress().getHostAddress() and s.getPort()
* as its arguments to ensure the operation is allowed.
* This could result in a SecurityException.
but:
* @exception SecurityException if a security manager exists and its
* checkListen method doesn't allow the operation.
^^^^^^^^^^^
and should be slightly corrected.
======================================================================
Javadoc states about java.net.ServerSocket.accept():
* if there is a security manager,
* the security manager's checkAccept method is called
^^^^^^^^^^^
* with s.getInetAddress().getHostAddress() and s.getPort()
* as its arguments to ensure the operation is allowed.
* This could result in a SecurityException.
but:
* @exception SecurityException if a security manager exists and its
* checkListen method doesn't allow the operation.
^^^^^^^^^^^
and should be slightly corrected.
======================================================================