[11u] RFR: 8223638: Replace wildcard address with loopback or local host in tests - part 6
Langer, Christoph
christoph.langer at sap.com
Mon Dec 30 10:13:51 UTC 2019
Hi Goetz,
I think you have to do some additional work. When running the test we now see this:
test/jdk/java/net/URL/PerConnectionProxy.java:54: error: no suitable constructor found for TestHttpServer(PerConnectionProxy,int,int,InetAddress,int)
server = new TestHttpServer(new PerConnectionProxy(), 1, 10, loopbackAddress, 0);
^
constructor TestHttpServer.TestHttpServer(HttpCallback) is not applicable
(actual and formal argument lists differ in length)
constructor TestHttpServer.TestHttpServer(HttpCallback,int,int) is not applicable
(actual and formal argument lists differ in length)
constructor TestHttpServer.TestHttpServer(HttpCallback,int,int,int) is not applicable
(actual and formal argument lists differ in length)
1 error
result: Failed. Compilation failed: Compilation failed
Also, after applying JDK-8225430 which goes clean, there will be another error:
test/jdk/java/net/URLClassLoader/closetest/CloseTest.java:165: error: cannot find symbol
new InetSocketAddress(InetAddress.getLoopbackAddress(), 0),
^
symbol: variable InetAddress
location: class CloseTest
Best regards
Christoph
> -----Original Message-----
> From: jdk-updates-dev <jdk-updates-dev-bounces at openjdk.java.net> On
> Behalf Of Lindenmaier, Goetz
> Sent: Freitag, 27. Dezember 2019 11:13
> To: jdk-updates-dev at openjdk.java.net
> Subject: [CAUTION] [11u] RFR: 8223638: Replace wildcard address with
> loopback or local host in tests - part 6
>
> Hi,
>
> I would like to downport this because a later 11.0.7-oracle change
> Applies clean with this.
> I had to do a simple resolve due to context in UnreferencedSockets.java
>
> http://cr.openjdk.java.net/~goetz/wr19/8223638-replace_wildcard_6-
> jdk11/01/
> https://bugs.openjdk.java.net/browse/JDK-8223638
> http://hg.openjdk.java.net/jdk/jdk/rev/43439afaab4a
>
> Best regards,
> Goetz.
More information about the jdk-updates-dev
mailing list