Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8183123

JDP packets have no processId context set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 9, 10
    • core-svc
    • None

      The sun/management/jdp/JdpController.getProcessId() method uses an old MBean hack to try and get the current process id. This code does not work and is also not a generic method that would work for other pluggable JVMs, resulting in no processId context being set in the JDP packets. The code should be changed to leverage the new ProcessHandle.current().pid() method.

            clanger Christoph Langer
            clanger Christoph Langer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: