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

XMLWordPrintable

    • Verified

      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.

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

              Created:
              Updated:
              Resolved: