RFR: 8376052: Use AttachOperationFailedException rather than AttachNotSupportedException in findTargetProcessTmpDirectory() [v3]
Yasumasa Suenaga
ysuenaga at openjdk.org
Mon Feb 2 06:41:04 UTC 2026
On Sun, 25 Jan 2026 11:02:32 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:
>> [JDK-8373867](https://bugs.openjdk.org/browse/JDK-8373867) improves the logic to find tmp directory for using in attaching procedure. It might throw `IOException` or `AttachNotSupportedException` when it failed.
>>
>> In review thread #28867, we reached conclusion we should use `AttachOperationFailedException` rather than `AttachNotSupportedException` because `AttachNotSupportedException` would be thrown when a compatible AttachProvider does not exist.
>
> Yasumasa Suenaga has updated the pull request incrementally with two additional commits since the last revision:
>
> - Update comments in findTargetProcessTmpDirectory()
> - Throw AssertionError when URISyntaxException happens at findTargetProcessTmpDirectory()
PING: Can I get second reviewer? CSR for this PR has been already approved.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29355#issuecomment-3833254016
More information about the serviceability-dev
mailing list