changeset 20599 | 5201f7144a3c |
parent 20258 | bdaa691b4da4 |
child 20608 | 5cc020154cff |
--- a/langtools/src/share/classes/com/sun/tools/javac/comp/Attr.java Fri Sep 27 10:24:56 2013 +0100 +++ b/langtools/src/share/classes/com/sun/tools/javac/comp/Attr.java Fri Sep 27 17:28:31 2013 +0200 @@ -4058,8 +4058,7 @@ } public void visitAnnotation(JCAnnotation tree) { - log.error(tree.pos(), "annotation.not.valid.for.type", pt()); - result = tree.type = syms.errType; + Assert.error("should be handled in Annotate"); } public void visitAnnotatedType(JCAnnotatedType tree) {