RFR: JDK-8212035 : merge jdk.test.lib.util.SimpleHttpServer with jaxp.library.SimpleHttpServer

Daniel Fuchs dfuchs at openjdk.java.net
Fri Dec 4 20:51:17 UTC 2020


On Fri, 4 Dec 2020 20:32:02 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> jaxp.library.SimpleHttpServer
>> https://bugs.openjdk.java.net/browse/JDK-8212035
>
> test/jdk/sun/net/www/protocol/jar/MultiReleaseJarURLConnection.java line 80:
> 
>> 78:         creator.buildSignedMultiReleaseJar();
>> 79: 
>> 80:         server = new SimpleHttpServer(TESTCONTEXT,System.getProperty("user.dir", "."));
> 
> Please add space after comma.

I believe the InetAddress parameter should be preserved in order to allow test to specifically bind to the loopback address instead of the wildcard (binding to the wildcard has been a source of test instability in the past).

-------------

PR: https://git.openjdk.java.net/jdk/pull/1632


More information about the net-dev mailing list