jdk11u-dev icon indicating copy to clipboard operation
jdk11u-dev copied to clipboard

8209362: sun/security/ssl/SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use (Bind failed)"

Open luchenlin opened this issue 6 months ago • 6 comments

I backport this for parity with 11.0.25-oracle. test/jdk/javax/net/ssl/templates/SSLSocketTemplate.java "protected volatile int serverPort = 0;" "protected void doServerSide() throws Exception" already protected, no need to change, make it clean.


Progress

  • [ ] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • [x] Change must not contain extraneous whitespace
  • [x] Commit message must refer to an issue
  • [ ] JDK-8209362 needs maintainer approval

Issue

  • JDK-8209362: sun/security/ssl/SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use (Bind failed)" (Bug - P3)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/2884/head:pull/2884
$ git checkout pull/2884

Update a local copy of the PR:
$ git checkout pull/2884
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/2884/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2884

View PR using the GUI difftool:
$ git pr show -t 2884

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/2884.diff

Webrev

Link to Webrev Comment

luchenlin avatar Jul 30 '24 08:07 luchenlin