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

ObjectInstance and Attribute should define toString()

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b17
    • CPU:
      generic
    • OS:
      generic

      Description

      javax.management.ObjectInstance should define a toString() method.
      It could look something like this:
          return getClassName() + "[" + getObjectName() + "]";
      using essentially the same syntax as for MBeanPermission.

      javax.management.Attribute should also define toString().
      It could look something like this:
          return getName() + " = " + getValue();

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sjiang Shanliang Jiang (Inactive)
              Reporter:
              emcmanus Eamonn McManus
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: