RFR: 8373867: Improve robustness of Attach API for finding tmp directory [v5]

Alan Bateman alanb at openjdk.org
Wed Jan 21 09:33:44 UTC 2026


On Wed, 21 Jan 2026 01:04:03 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

> AttachOperationFailedException inherits IOException, and case (2) and (4) can be considered attach operation error, not a communication error.

That would be okay to throw, and would be okay to add a constructor that takes a cause.

I think we should remove the new constructor from AttachNotSupportedException, it should not be needed.

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

PR Comment: https://git.openjdk.org/jdk/pull/28867#issuecomment-3777069955


More information about the serviceability-dev mailing list