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

XMBean equals can lead to NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 5.0
    • tools
    • b58
    • generic
    • generic

      mbean.getMBeanServerConnection().equals(mbean.getMBeanServerConnection())
      located in equals test should be removed.
      It is useless and can lead to null pointer exception when connection are closed.

            jfdenise Jean-Francois Denise (Inactive)
            jfdenise Jean-Francois Denise (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: