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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 5.0
    • Affects Version/s: 5.0
    • Component/s: core-svc
    • b38
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: