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

Needed readResolve method in OpenMBeanOperationInfo for "ReturnOpenType"

XMLWordPrintable

    • b67
    • generic
    • generic

      OpenMBeanOperationInfo should have a readResolve method like the one
      OpenMBeanAttributeInfo and OpenMBeanParameterInfo have to add the
      "ReturnOpenType" into the Descriptor at OpenMBeanOperationInfo´s
      deserialization time. This allows OpenMBeanOperationInfo´s coming
      from Tiger (without Descriptor) to be reconstructed with a Descriptor.

      An object serialized in a version of the API before Descriptors were added
      to this class will have an empty or null Descriptor. For consistency with our
      behavior in Mustang, we must replace the object with one where the Descriptors
      reflect the same values of "ReturnOpenType". The field name to be used in
      the Descriptor for the return open type is "openType" as specified by the
      javax.management.Descriptor javadoc.

            dfuchs Daniel Fuchs
            lmalvent Luis-Miguel Alventosa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: