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

SA-JDI: connector's toString() result string misses closing bracket

XMLWordPrintable

    • beta2
    • generic
    • generic
    • Verified



      Name: ipR10196 Date: 01/08/2004


      --------------------------------------
      VM : ClientVM, ServerVM
      Mode : all
      Platform : all
      OS : all
      JDK : 1.5.0-b32,b33
      ----------------------------------------

      All SA-JDI connectors implements toString() method.
      But this method produces string with missed closing bracket
      in contrast to a string produced by usual JDI connectors.
      Though format of toString() value is not specified in JDI specs,
      but this looks like bug in SA-JDI connectors.

      Here is fragment of a test output that prints toString() value
      and name for each installed JDI connector:
      ============================================================================
      Invoke VirtualMachineManager.allConnectors():
          got list size: 7
      Items in the list:
          item #0: com.sun.jdi.CommandLineLaunch (defaults: home=/export/ld54/java/dest/jdk1.5.0-b33/solaris-sparc/jre,
      options=, main=, suspend=true, quote=", vmexec=java)
             name: com.sun.jdi.CommandLineLaunch
          item #1: com.sun.jdi.RawCommandLineLaunch (defaults: command=, quote=", address=)
             name: com.sun.jdi.RawCommandLineLaunch
          item #2: com.sun.jdi.SocketAttach (defaults: address=, timeout=, hostname=novo153, port=)
             name: com.sun.jdi.SocketAttach
          item #3: com.sun.jdi.SocketListen (defaults: address=, timeout=, port=, localAddress=)
             name: com.sun.jdi.SocketListen
          item #4: sun.jvm.hotspot.jdi.SACoreAttachingConnector (defaults: javaExecutable=, core=core
             name: sun.jvm.hotspot.jdi.SACoreAttachingConnector
          item #5: sun.jvm.hotspot.jdi.SADebugServerAttachingConnector (defaults: debugServerName=
             name: sun.jvm.hotspot.jdi.SADebugServerAttachingConnector
          item #6: sun.jvm.hotspot.jdi.SAPIDAttachingConnector (defaults: pid=
             name: sun.jvm.hotspot.jdi.SAPIDAttachingConnector
      ============================================================================

      Ivan Popov <###@###.###>
      ======================================================================

            sundar Sundararajan Athijegannathan
            popovsunw Popov Popov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: