Proposal to remove java.lang.annotation.InvalidContainerAnnotationError

Alex Buckley alex.buckley at oracle.com
Thu Feb 14 16:20:14 PST 2013


No objection from me. The condition for throwing an 
AnnotationFormatError was deliberately broad in order to i) mirror a 
compile-time rule and ii) not over-emphasize a fairly rare situation.

Alex

On 2/14/2013 4:15 PM, Joseph Darcy wrote:
> Hello,
>
>  From the recent changes in the repeating annotation feature, it seems that
>
>      java.lang.annotation.InvalidContainerAnnotationError
>
> does not pull its weight as a separate public type and that its
> superclass, AnnotationFormatError from Java SE 5, should just be used
> instead.
>
> Any objections to removing InvalidContainerAnnotationError? Please
> respond by February 19.
>
> Thanks,
>
> -Joe



More information about the enhanced-metadata-spec-discuss mailing list