hg: jdk-updates/jdk11u-dev: 8233185: HttpServer.stop() blocks indefinitely when called on dispatch thread

shade at redhat.com shade at redhat.com
Tue Apr 20 06:28:16 UTC 2021


Changeset: 491338075142
Author:    jboes
Date:      2019-11-28 13:02 +0000
URL:       https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/491338075142

8233185: HttpServer.stop() blocks indefinitely when called on dispatch thread
Summary: Skip dispatcherThread.join() if current thread is the dispatcherThread
Reviewed-by: dfuchs, msheppar, vtewari

! src/jdk.httpserver/share/classes/sun/net/httpserver/ServerImpl.java
+ test/jdk/com/sun/net/httpserver/HttpServerTest.java



More information about the jdk-updates-changes mailing list