src/share/classes/com/sun/tools/javac/comp/Annotate.java

changeset 1464
f72c9c5aeaef
parent 1445
376d6c1b49e5
child 1492
df694c775e8a
equal deleted inserted replaced
1463:67b01d295cd2 1464:f72c9c5aeaef
398 log.error(annoTree.pos(), "duplicate.annotation.invalid.repeated", origAnnoType); 398 log.error(annoTree.pos(), "duplicate.annotation.invalid.repeated", origAnnoType);
399 399
400 Attribute.Compound c = enterAnnotation(annoTree, 400 Attribute.Compound c = enterAnnotation(annoTree,
401 targetContainerType, 401 targetContainerType,
402 ctx.env); 402 ctx.env);
403 c.setSynthesized(true);
403 return c; 404 return c;
404 } else { 405 } else {
405 return null; // errors should have been reported elsewhere 406 return null; // errors should have been reported elsewhere
406 } 407 }
407 } 408 }

mercurial