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

Yasumasa Suenaga ysuenaga at openjdk.org
Thu Jan 22 06:40:06 UTC 2026


> [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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29355/files
  - new: https://git.openjdk.org/jdk/pull/29355/files/dc4825db..c9051cde

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29355&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29355&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/29355.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29355/head:pull/29355

PR: https://git.openjdk.org/jdk/pull/29355


More information about the serviceability-dev mailing list