--- a/jdk/src/java.base/share/classes/sun/invoke/util/Wrapper.java Tue Apr 11 11:24:12 2017 +0200
+++ b/jdk/src/java.base/share/classes/sun/invoke/util/Wrapper.java Tue Apr 11 18:57:46 2017 +0200
@@ -518,12 +518,6 @@
* If the target type is a primitive, change it to a wrapper.
*/
static <T> Class<T> forceType(Class<?> type, Class<T> exampleType) {
- boolean z = (type == exampleType ||
- type.isPrimitive() && forPrimitiveType(type) == findWrapperType(exampleType) ||
- exampleType.isPrimitive() && forPrimitiveType(exampleType) == findWrapperType(type) ||
- type == Object.class && !exampleType.isPrimitive());
- if (!z)
- System.out.println(type+" <= "+exampleType);
assert(type == exampleType ||
type.isPrimitive() && forPrimitiveType(type) == findWrapperType(exampleType) ||
exampleType.isPrimitive() && forPrimitiveType(exampleType) == findWrapperType(type) ||