jmx-dev RFR: 8350545: Several sun/management/jdp tests fails java.net.SocketException

SendaoYan syan at openjdk.org
Sun Feb 23 12:20:02 UTC 2025


Hi all,

Four sun/management/jdp tests fails "java.net.SocketException: No such device" on some machines. The machine cannot connect to the Internet directly and needs to be connected to the Internet through a jump machine. The sun/management/jdp tests report "java.net.SocketException: No such device" failure do not caused by JVM bug but environmentalk issue, so this PR match the output and throw `jtreg.SkippedException` instead of report test fails.

Change has been verified locally, test-fix only and make tests more robustness, no risk.

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

Commit messages:
 - 8350545: Several sun/management/jdp tests fails java.net.SocketException

Changes: https://git.openjdk.org/jdk/pull/23738/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23738&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8350545
  Stats: 13 lines in 5 files changed: 4 ins; 0 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/23738.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23738/head:pull/23738

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


More information about the jmx-dev mailing list