Proposal to remove java.lang.annotation.InvalidContainerAnnotationError

Joe Darcy joe.darcy at oracle.com
Fri Feb 22 19:41:54 PST 2013


Upon hearing no objections, I will move forward on removing 
InvalidContainerAnnotationError from Java SE 8.

Thanks,

-Joe

On 2/14/2013 4:20 PM, Alex Buckley wrote:
> 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