changeset 11275 | 7cb0861d512f |
parent 9535 | d930011fd275 |
child 12300 | c795ca195227 |
--- a/jdk/src/share/classes/java/lang/Character.java Wed Dec 07 12:12:50 2011 -0800 +++ b/jdk/src/share/classes/java/lang/Character.java Thu Dec 08 13:48:54 2011 -0500 @@ -172,7 +172,7 @@ * @since 1.1 */ @SuppressWarnings("unchecked") - public static final Class<Character> TYPE = Class.getPrimitiveClass("char"); + public static final Class<Character> TYPE = (Class<Character>) Class.getPrimitiveClass("char"); /* * Normative general types