RFR: 8233185: HttpServer.stop() blocks indefinitely when called on dispatch thread
Julia Boes
julia.boes at oracle.com
Wed Nov 27 11:37:21 UTC 2019
Hi,
> JDK8 we don't do join() on "dispatcherThread" in stop(). We need to
> find out why we introduce the below code.
> ####################################################
> if (dispatcherThread != null) {
> try {
> dispatcherThread.join();
> } catch (InterruptedException e) {
> Thread.currentThread().interrupt();
> logger.log (Level.TRACE, "ServerImpl.stop: ", e);
> }
> }
> #########################################################
Thanks for confirming, Mark. dispatcherThread was introduced with a
Windows XP specific fix in version 9:
https://bugs.openjdk.java.net/browse/JDK-8015692
Regards,
Julia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20191127/582bea67/attachment.html>
More information about the net-dev
mailing list