RFR: 8279351: [TESTBUG] SADebugDTest.java does not handle "Address already in use" error

Yasumasa Suenaga ysuenaga at openjdk.java.net
Fri Dec 31 13:48:26 UTC 2021


We expect SADebugDTest.java will retly the test when it encounters "Address already in use" error. However RuntimeException is thrown when the error happens.

So I fixed it with some refactoring in this PR. Key change is the condition in L129.

Please see serviceability-dev post for details.
https://mail.openjdk.java.net/pipermail/serviceability-dev/2021-December/040453.html

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

Commit messages:
 - 8279351: [TESTBUG] SADebugDTest.java does not handle "Address already in use" error

Changes: https://git.openjdk.java.net/jdk/pull/6941/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6941&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8279351
  Stats: 28 lines in 1 file changed: 11 ins; 13 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6941.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6941/head:pull/6941

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


More information about the serviceability-dev mailing list