MBeanInfo.equals() throws NPE if description of second MBeanInfo is null.

XMLWordPrintable

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


      MBeanInfo mbi1 = new MBeanInfo("MyClass","",null,null,null,null);
      MBeanInfo mbi2 = new MBeanInfo("MyClass",null,null,null,null,null);
            <= pass null as description

      if (mbi1.equals(mbi2)) <= this throws NPE

            Assignee:
            Shanliang Jiang (Inactive)
            Reporter:
            Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: