[JSR308] Runtime[In]visibleTypeAnnotations vs RuntimeVisibleExtendedAnnotations (class file)

Michael Ernst mernst at cs.washington.edu
Fri Jan 23 12:16:23 EST 2009


> The current (November 14, 2008) draft of JSR 308 at:
>    http://groups.csail.mit.edu/pag/jsr308/specification/java-annotation-design.html
> specifies two new attributes: RuntimeVisibleTypeAnnotations and
> RuntimeInvisibleTypeAnnotations. However, it seems that the current
> implementation puts in class file different attribute -
> RuntimeVisibleExtendedAnnotations - which is not defined by the spec.
> 
> Could you please clarify/comment this?

You are correct.  The implementation lags the specification on this
detail.  The implementation will be corrected to reflect the new name.

Sorry for the confusion.

                    -Mike



More information about the JSR308 mailing list