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

Logic to default fields in ModelMBean descriptor adds at most one default value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b38
    • CPU:
      generic
    • OS:
      generic

      Description

      ModelMBeanInfoSupport.isValid() contains code that adds a default value
      for various fields in the Descriptor for the ModelMBean itself. However,
      the logic basically says:
         if (displayName missing)
            set default displayName
         else if (persistPolicy missing)
            set default persistPolicy
         else if (log missing)
            ...

      Obviously the "else"s should not be there. Each one of these values that is missing should be added.

        Attachments

          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: