hg: jdk/sandbox: 8233185: HttpServer.stop() blocks indefinitely when called on dispatch thread

chris.hegarty at oracle.com chris.hegarty at oracle.com
Thu Nov 28 16:00:16 UTC 2019


Changeset: b42eaca7d234
Author:    jboes
Date:      2019-11-28 13:02 +0000
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/b42eaca7d234

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-sandbox-changes mailing list