jdk/src/java.base/windows/native/libnet/DualStackPlainSocketImpl.c
changeset 28663 5bedcbb25c5f
parent 25859 3317bb8137f4
child 28681 fc0698dfbb23
--- a/jdk/src/java.base/windows/native/libnet/DualStackPlainSocketImpl.c	Mon Jan 26 18:13:42 2015 +0800
+++ b/jdk/src/java.base/windows/native/libnet/DualStackPlainSocketImpl.c	Mon Jan 26 13:46:08 2015 +0000
@@ -48,6 +48,8 @@
     isa_ctorID = (*env)->GetMethodID(env, cls, "<init>",
                                      "(Ljava/net/InetAddress;I)V");
 
+    initInetAddressIDs(env);
+
     // implement read timeout with select.
     isRcvTimeoutSupported = 0;
 }