7031238: Problem with fix for 6981922
authormichaelm
Fri, 25 Mar 2011 16:23:15 -0700
changeset 8819 5fe557cd3f86
parent 8818 f0456a8381f6
child 8820 ddac2c4891b9
7031238: Problem with fix for 6981922 Reviewed-by: chegar
jdk/src/windows/classes/java/net/TwoStacksPlainDatagramSocketImpl.java
--- a/jdk/src/windows/classes/java/net/TwoStacksPlainDatagramSocketImpl.java	Mon Mar 21 17:22:16 2011 -0700
+++ b/jdk/src/windows/classes/java/net/TwoStacksPlainDatagramSocketImpl.java	Fri Mar 25 16:23:15 2011 -0700
@@ -26,6 +26,7 @@
 
 import java.io.IOException;
 import java.io.FileDescriptor;
+import sun.net.ResourceManager;
 
 /**
  * This class defines the plain DatagramSocketImpl that is used for all
@@ -108,6 +109,7 @@
     protected void close() {
         if (fd != null || fd1 != null) {
             datagramSocketClose();
+            ResourceManager.afterUdpClose();
             fd = null;
             fd1 = null;
         }