Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8178380 Module system implementation refresh (5/2017)
  3. JDK-8180425

Release Note: Attach API cannot be used to attach to the current VM by default

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-svc
    • Subcomponent:
    • Verification:
      Verified

      Description

      The implementation of Attach API has changed in JDK 9 to disallow attaching to the current VM by default. This change should have no impact on tools that use the Attach API to attach to a running VM. It may impact libraries that mis-use this API as a way to get at the java.lang.instrument API. The system property `jdk.attach.allowAttachSelf` may be set on the command line to mitigate any compatibility with this change.

        Attachments

          Activity

            People

            • Assignee:
              alanb Alan Bateman
              Reporter:
              alanb Alan Bateman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: