[jdk11u-dev] RFR: 8220083: Remove hard-coded 127.0.0.1 loopback address in JDK networking tests
Matthias Baesken
mbaesken at openjdk.org
Mon Oct 30 11:40:38 UTC 2023
On Thu, 26 Oct 2023 14:08:19 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:
> I backport this test improvement as prereq of 8223145 Replace wildcard address with loopback or local host in tests - part 1
>
> I had to resolve the following files:
>
> test/jdk/com/sun/net/httpserver/bugs/6725892/Test.java
> Copyright
>
> test/jdk/java/net/SocketOption/TcpKeepAliveTest.java
> Changes already backported. Skipped.
>
> test/jdk/java/nio/channels/SocketChannel/CloseRegisteredChannel.java
> Resolved due to context.
>
> test/jdk/sun/net/www/protocol/http/TunnelThroughProxy.java
> Patch skipped because "8216986: Remove unused code from SocksSocketImpl" not in 11.
>
> SendFailed.java
> I had to add import for InetAddress to make it work.
>
> Tests all pass.
LGTM
-------------
Marked as reviewed by mbaesken (Reviewer).
PR Review: https://git.openjdk.org/jdk11u-dev/pull/2222#pullrequestreview-1703883022
More information about the jdk-updates-dev
mailing list