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

Solaris: Correctly enqueue null arguments of attach operations

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b07
    • OS:
      solaris

      Description

      The method sun.tools.attach.HotSpotVirtualMachine.executeCommand() has a varargs argument 'Object ... args'. Elements of this varargs array can also be null. The HotSpotVirtualMachine implementations on most platforms are capable of handling null arguments and passing these to the attach listener. However, the native implementation of Solaris' sun.tools.attach.VirtualMachineImpl ignores null arguments. This can lead to an undesired argument shift.

        Attachments

          Activity

            People

            • Assignee:
              clanger Christoph Langer
              Reporter:
              clanger Christoph Langer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: