RFR [8u-dev]:JDK-8015692 - java.net.BindException is thrown on Windows XP when HTTP server is started and stopped in the loop.

Mark Sheppard mark.sheppard at oracle.com
Wed Feb 4 23:10:09 UTC 2015


Hi
    please oblige and review the following changes
http://cr.openjdk.java.net/~msheppar/8015692/jdk8/webrev/

for the backport
https://bugs.openjdk.java.net/browse/JDK-8072468

of the main bug
https://bugs.openjdk.java.net/browse/JDK-8015692

changeset:
http://hg.openjdk.java.net/jdk9/dev/jdk/rev/2be709990761

review:
http://mail.openjdk.java.net/pipermail/net-dev/2014-November/008757.html

the main change is the dispatcher thread in the ServerImpl
is joined in the stop() which ensures that SocketChannels are closed
and network resources released prior to the next instantiation of the
HttpServer.

This is sent as a review rather than RFA as it was done in parallel with 
the main bug,
but it slipped my mind to request review, or maybe my mind just slipped!

regards
Mark




More information about the jdk8u-dev mailing list