RFR: 8276848: sun.net.httpserver.simpleserver.CommandLinePositiveTest: test does not specify port

Julia Boes jboes at openjdk.java.net
Thu Nov 11 17:16:55 UTC 2021


This change corrects the server configuration in `testBindAllInterfaces` to specify the port. Additionally, a manual test is added for the case where the port is not specified and the server uses the default port 8000, which might already be in use by another test. To avoid this scenario and the resulting BindException, the test is made manual.

Testing: Tier 1-3

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

Commit messages:
 - initial commit

Changes: https://git.openjdk.java.net/jdk/pull/6361/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6361&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8276848
  Stats: 154 lines in 2 files changed: 152 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6361.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6361/head:pull/6361

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


More information about the net-dev mailing list