RFR: 8376052: Use AttachOperationFailedException rather than AttachNotSupportedException in findTargetProcessTmpDirectory() [v2]

Alan Bateman alanb at openjdk.org
Sun Jan 25 08:26:50 UTC 2026


On Thu, 22 Jan 2026 06:40:06 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 one additional commit since the last revision:
> 
>   Fix typo

I've tied up the CSR and added myself as Reviewer.

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

PR Comment: https://git.openjdk.org/jdk/pull/29355#issuecomment-3796191287


More information about the serviceability-dev mailing list