Missing location of Runtime[In]VisibleTypeAnnotations attribute
mernst at cs.washington.edu
Thu Mar 14 16:10:15 PDT 2013
FYI, this is fixed. Thanks, Alex, for pointing it out.
> Subject: Missing location of Runtime[In]VisibleTypeAnnotations attribute
> From: Alex Buckley <alex.buckley at oracle.com>
> To: type-annotations-spec-experts <type-annotations-spec-experts at openjdk.java.net>
> Date: Mon, 25 Feb 2013 10:39:20 -0800
> Section 3 of the spec says: "A type annotation is stored in a
> Runtime[In]visibleTypeAnnotations attribute on the smallest enclosing
> class, field, method, or Code structure."
> Subsections then give the exact storage location for most, but not all, of
> the possible type annotations. The location is missing in 3.3.9 "Type
> tests, object creation, and method/constructor references" - an omission
> which partly led to dropped annotations in the RI . Also, 3.3.10 gives a
> location but is inconsistent about the name of the structure being stored.
More information about the type-annotations-spec-experts