--- old/src/share/classes/sun/invoke/util/Wrapper.java 2014-03-14 15:39:43.000000000 +0400 +++ new/src/share/classes/sun/invoke/util/Wrapper.java 2014-03-14 15:39:43.000000000 +0400 @@ -230,14 +230,6 @@ */ public T zero(Class type) { return convert(zero, type); } -// /** Produce a wrapper for the given wrapper or primitive type. */ -// public static Wrapper valueOf(Class type) { -// if (isPrimitiveType(type)) -// return forPrimitiveType(type); -// else -// return forWrapperType(type); -// } - /** Return the wrapper that wraps values of the given type. * The type may be {@code Object}, meaning the {@code OBJECT} wrapper. * Otherwise, the type must be a primitive.