Hi Alex, I've just quickly checked this and it seems worthwile to me to downport 8035653 to JDK8.
As the patch will probably not apply cleanly to JDK8 after unshuffling [1] , you will need to create a new public review and post it on this mailing list. Some JDK8 reviewer needs to review it and then you need to request approval for push into jdk8u-dev using this mail template [2]. After you've posted the webrev I can help you with the process. Generally, information about Java 8 backports can be found here: [3]. Best regards Christoph [1] http://cr.openjdk.java.net/~chegar/docs/portingScript.html [2] http://openjdk.java.net/projects/jdk8u/approval-template.html [3] http://openjdk.java.net/projects/jdk8u/ > -----Original Message----- > From: net-dev [mailto:net-dev-boun...@openjdk.java.net] On Behalf Of > Alex Kashchenko > Sent: Donnerstag, 23. März 2017 00:51 > To: net-dev@openjdk.java.net > Subject: [PATCH] 8035653: jdk8u152-b01 windows crash on > DatagramSocket.getLocalAddress > > Hi, > > We found that 8035653 test from jdk9 [1] crashes jdk8u152-b01 on windows > at this point [2] because "ia6_class" is not initialized. > > It looks like the following bit of 8035653 is missed in jdk8u152-b01: > > diff -r 83726fe0f756 > src/windows/native/java/net/DualStackPlainDatagramSocketImpl.c > --- a/src/windows/native/java/net/DualStackPlainDatagramSocketImpl.c > Tue Mar 21 17:08:03 2017 -0700 > +++ b/src/windows/native/java/net/DualStackPlainDatagramSocketImpl.c > Wed Mar 22 23:18:30 2017 +0000 > @@ -87,6 +87,8 @@ > IO_fd_fdID = NET_GetFileDescriptorID(env); > CHECK_NULL(IO_fd_fdID); > JNU_CHECK_EXCEPTION(env); > + > + initInetAddressIDs(env); > } > > If it will be convenient, I can submit an issue+webrev and re-send this > to jdk8u-dev list. But as 8u152 is not yet released and the fix is > already in jdk9, I will appreciate some guidance on this problem. > > > [1] > http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/f6bf027e88e9/test/java/net/ > DatagramSocket/B8035653.java > [2] > http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/83726fe0f756/src/share/na > tive/java/net/net_util.c#l222 > > -- > -Alex