1.1 --- a/src/share/classes/com/sun/tools/javac/comp/Check.java Sat Sep 08 22:54:21 2012 -0700 1.2 +++ b/src/share/classes/com/sun/tools/javac/comp/Check.java Thu Sep 13 14:29:36 2012 -0700 1.3 @@ -2373,9 +2373,12 @@ 1.4 tree.accept(new AnnotationValidator()); 1.5 } 1.6 1.7 - /** Annotation types are restricted to primitives, String, an 1.8 + /** 1.9 + * {@literal 1.10 + * Annotation types are restricted to primitives, String, an 1.11 * enum, an annotation, Class, Class<?>, Class<? extends 1.12 * Anything>, arrays of the preceding. 1.13 + * } 1.14 */ 1.15 void validateAnnotationType(JCTree restype) { 1.16 // restype may be null if an error occurred, so don't bother validating it