RFR: 8253940: com/sun/jdi/JdwpAttachTest.java failed with "RuntimeException: ERROR: LingeredApp.startApp was able to attach"

Alex Menkov amenkov at openjdk.java.net
Fri Feb 19 20:15:47 UTC 2021


Failures related to "no route to host" and "cannot bind to address" errors are covered by https://git.openjdk.java.net/jdk/pull/2633

This change fixes failures with listening on IPv6 loopback and attaching to "localhost" (the test connects to some other process which listens on the same port on IPv4 loopback and as a result gets "handshake failed - received >< - expected >JDWP-Handshake<" error)

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

Commit messages:
 - JDK-8253940

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

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


More information about the serviceability-dev mailing list