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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 6
    • 6
    • core-svc
    • b17
    • generic
    • generic

    Description


      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: