Use AttachOperationFailedException rather than AttachNotSupportedException in findTargetProcessTmpDirectory()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 27
    • Component/s: hotspot
    • None
    • svc
    • 27
    • linux

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

            Assignee:
            Yasumasa Suenaga
            Reporter:
            Yasumasa Suenaga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: