Can I please get a review of this test-only change which addresses the issue 
noted in https://bugs.openjdk.org/browse/JDK-8308878?

The commit in this PR updates the test to not hardcode a IPv4 address and 
instead use the server's bound address when looking for the server's IP address 
in the output.

With this change the test now passes in IPv4 as well as IPv6 environments.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8308878: com/sun/net/httpserver/simpleserver/OutputFilterTest.java fails 
with assertion errors in IPv6 only environment

Changes: https://git.openjdk.org/jdk/pull/30934/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30934&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8308878
  Stats: 13 lines in 1 file changed: 6 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/30934.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30934/head:pull/30934

PR: https://git.openjdk.org/jdk/pull/30934

Reply via email to