In review thread on GitHub[1], we reached conclusion we should use AttachOperationFailedException rather than AttachNotSupportedException because AttachNotSupportedException would be thrown when a compatible AttachProvider does not exist.
[1] https://github.com/openjdk/jdk/pull/28867
- csr for
-
JDK-8376053 Revert the constructor with the cause from AttachNotSupportedException, and add it to AttachOperationFailedException
-
- Proposed
-
- relates to
-
JDK-8373867 Improve robustness of Attach API for finding tmp directory
-
- Resolved
-
- links to
-
Review(master)
openjdk/jdk/29355