hg: jdk9/dev/jdk: 8015692: java.net.BindException is thrown on Windows XP when HTTP server is started and stopped in the loop.
mark.sheppard at oracle.com
mark.sheppard at oracle.com
Sat Nov 15 18:25:35 UTC 2014
Changeset: 2be709990761
Author: msheppar
Date: 2014-11-15 18:26 +0000
URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/2be709990761
8015692: java.net.BindException is thrown on Windows XP when HTTP server is started and stopped in the loop.
Summary: join the dispatcher thread in the ServerImpl.stop method to ensure Dispatcher is finished prior to exiting stop().
Reviewed-by: chegar
! src/jdk.httpserver/share/classes/sun/net/httpserver/ServerImpl.java
+ test/com/sun/net/httpserver/SimpleHttpServerTest.java
More information about the jdk9-dev-changes
mailing list