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

ObjectInstance and Attribute should define toString()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-svc
    • b17
    • generic
    • generic

      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();

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: