--- old/src/share/classes/javax/management/MBeanConstructorInfo.java 2013-09-16 18:02:21.000000000 +0200 +++ new/src/share/classes/javax/management/MBeanConstructorInfo.java 2013-09-16 18:02:20.000000000 +0200 @@ -191,10 +191,10 @@ if (!(o instanceof MBeanConstructorInfo)) return false; MBeanConstructorInfo p = (MBeanConstructorInfo) o; - return (p.getName().equals(getName()) && - p.getDescription().equals(getDescription()) && + return (Objects.equals(p.getName(), getName()) && + Objects.equals(p.getDescription(), getDescription()) && Arrays.equals(p.fastGetSignature(), fastGetSignature()) && - p.getDescriptor().equals(getDescriptor())); + Objects.equals(p.getDescriptor(), getDescriptor())); } /* Unlike attributes and operations, it's quite likely we'll have