What methods should go into a java.util.Objects class in JDK 7?

David Holmes - Sun Microsystems David.Holmes at Sun.COM
Wed Oct 7 08:51:40 UTC 2009

Stephen Colebourne said the following on 10/07/09 18:10:
> BTW, I don't accept the argument that one and only one way to do 
> something is part of the JDK. 

While the JDK is far from a model example of providing "one way" to do 
something, that doesn't mean we should gratuitously add superfluous and 
redundant functionality. Type.valueOf is an established pattern for 
converting types.

The JDK is already severely bloated - new APIs should pay their own way.


More information about the core-libs-dev mailing list