The fix updates client side of OSX implementation to support Attach API v2. Server side is shared with Linux and was updated by #22223. The changes are identical to client-side changes for Linux from #22223.
Testing: tier1,tier2,tier3,tier4,hs-tier5-svc ------------- Commit messages: - attach_v2_osx Changes: https://git.openjdk.org/jdk/pull/22907/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22907&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8342996 Stats: 52 lines in 1 file changed: 15 ins; 26 del; 11 mod Patch: https://git.openjdk.org/jdk/pull/22907.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/22907/head:pull/22907 PR: https://git.openjdk.org/jdk/pull/22907