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

Solaris: Correctly enqueue null arguments of attach operations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • None
    • core-svc
    • b07
    • solaris

      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.

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

              Created:
              Updated:
              Resolved: