JDP packets have no processId context set

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 9, 10
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: