--- old/src/share/classes/sun/reflect/generics/reflectiveObjects/TypeVariableImpl.java 2013-05-10 10:26:26.000000000 -0700 +++ new/src/share/classes/sun/reflect/generics/reflectiveObjects/TypeVariableImpl.java 2013-05-10 10:26:25.000000000 -0700 @@ -170,13 +170,8 @@ GenericDeclaration thatDecl = that.getGenericDeclaration(); String thatName = that.getName(); - return - (genericDeclaration == null ? - thatDecl == null : - genericDeclaration.equals(thatDecl)) && - (name == null ? - thatName == null : - name.equals(thatName)); + return Objects.equals(genericDeclaration, thatDecl) && + Objects.equals(name, thatName); } else return false;