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

Diff of /classpath/java/net/DatagramSocket.java

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

revision 1.16 by mkoch, Thu Dec 19 14:39:59 2002 UTC revision 1.17 by mkoch, Thu Dec 19 14:57:31 2002 UTC
# Line 437  public class DatagramSocket Line 437  public class DatagramSocket
437     */     */
438    public synchronized void receive(DatagramPacket p) throws IOException    public synchronized void receive(DatagramPacket p) throws IOException
439    {    {
     SecurityManager s = System.getSecurityManager();  
     if (s != null)  
       s.checkAccept(p.getAddress().getHostAddress(), p.getPort());  
   
440      impl.receive(p);      impl.receive(p);
441    
442      SecurityManager s = System.getSecurityManager();      SecurityManager s = System.getSecurityManager();

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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