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

Methods com.sun.tools.attach.VirtualMachine.load... don't throw NullPointerException

XMLWordPrintable

    • b01
    • generic
    • generic

      The doc for com.sun.tools.attach.VirtualMachine (http://java.sun.com/javase/6/docs/jdk/api/attach/spec/index.html) says that methods VirtualMachine.loadAgent(String agent), VirtualMachine.loadAgentLibrary(String agent), VirtualMachine.loadAgentPath(String agent) throw NullPointerException if agent is null, but actually if agent is null these methods throw AgentLoadException.

            gadams Gary Adams (Inactive)
            sboikovsunw Semen Boikov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: