RFR [11] 8058965 : Remove IPv6 support from TwoStacksPlainSocketImpl [win]

2018-02-16 Thread Ivan Gerasimov
Hello! On Windows we have two different implementations of java.net.Socket: DualStackPlainSocketImpl and TwoStacksPlainSocketImpl. Former is used by default, and the later is only used when the system option java.net.preferIPv4Stack is set to "true". In particular, this means that

Re: httpserver does not close connections when RejectedExecutionException occurs

2018-02-16 Thread Daniel Fuchs
Hi, On the surface I'd say that this change looks reasonable. However, handle is declared to throw IOException, and with this change it is guaranteed to never throw even RuntimeException. It seems that the code that calls handle() - at least in this file, has some logic to handle IOException -

Re: httpserver does not close connections when RejectedExecutionException occurs

2018-02-16 Thread KUBOTA Yuji
Hi Chris and Yasumasa, Sorry to have remained this issue for a long time. I come back. I updated my patch for the following three reasons. http://cr.openjdk.java.net/~ykubota/8169358/webrev.02/ * applies to the latest jdk/jdk instead of jdk9/dev * adds test by modifying reproducer as like tests