/[classpath]/classpath/java/net/ServerSocket.java
ViewVC logotype

Diff of /classpath/java/net/ServerSocket.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.41 by mark, Sat Jul 2 20:32:39 2005 UTC revision 1.42 by tromey, Thu Sep 22 18:09:59 2005 UTC
# Line 316  public class ServerSocket Line 316  public class ServerSocket
316    {    {
317      SecurityManager sm = System.getSecurityManager();      SecurityManager sm = System.getSecurityManager();
318      if (sm != null)      if (sm != null)
319        sm.checkListen(impl.getLocalPort());        sm.checkAccept(impl.getInetAddress().getHostAddress(),
320                         impl.getLocalPort());
321    
322      Socket socket = new Socket();      Socket socket = new Socket();
323    

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26