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

Allow CompositeType to have zero items

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b36
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      A javax.management.openmbean.CompositeType defines a list of items, where each item has a name and a type. The specification currently disallows a CompositeType with an empty list of items. With the implementation of 5072004, which allows a CompositeData to contain additional items and still be compatible with a CompositeType, it is now meaningful to have an empty CompositeType. This simply means that the corresponding CompositeData instances will have only additional items, and no fixed items. In particular this can be used to handle "any"-type values in MXBeans.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              emcmanus Eamonn McManus
              Reporter:
              emcmanus Eamonn McManus
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: