1.1 --- a/src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java Sat Oct 19 17:43:09 2013 +0100 1.2 +++ b/src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java Sun Oct 20 12:01:43 2013 -0700 1.3 @@ -404,11 +404,11 @@ 1.4 depth = depth.append(TypePathEntry.ARRAY); 1.5 while (arType.elemtype.hasTag(TypeTag.ARRAY)) { 1.6 if (arType.elemtype.isAnnotated()) { 1.7 - Type.AnnotatedType aelemtype = (Type.AnnotatedType) arType.elemtype; 1.8 + Type aelemtype = arType.elemtype; 1.9 arType = (Type.ArrayType) aelemtype.unannotatedType(); 1.10 ArrayType prevToMod = tomodify; 1.11 tomodify = new Type.ArrayType(null, arType.tsym); 1.12 - prevToMod.elemtype = (Type.AnnotatedType) tomodify.annotatedType(arType.elemtype.getAnnotationMirrors()); 1.13 + prevToMod.elemtype = tomodify.annotatedType(arType.elemtype.getAnnotationMirrors()); 1.14 } else { 1.15 arType = (Type.ArrayType) arType.elemtype; 1.16 tomodify.elemtype = new Type.ArrayType(null, arType.tsym);