RuntimeVisibleTypeAnnotations should be a Code attribute, not a Method attribute
Werner Dietl
wdietl at gmail.com
Sun Feb 24 18:17:46 PST 2013
Jon, all,
Eric Bruneton mentions on the spec-comments list that
RuntimeVisibleTypeAnnotations should be a Code attribute, not a Method
attribute:
http://mail.openjdk.java.net/pipermail/type-annotations-spec-comments/2013-February/000021.html
How can I very whether this is the case or not?
I looked at:
com.sun.tools.classfile.ClassWriter.writeMethod(Method)
com.sun.tools.classfile.Code_attribute.attributes
com.sun.tools.classfile.RuntimeInvisibleTypeAnnotations_attribute
but I don't see where a decision between Code and Method is made...
both have attributes and I don't see where
RuntimeInvisibleTypeAnnotations_attribute is put in one or the other.
Before I spend more time in debugging, do you know where this happens?
Thanks,
cu, WMD.
--
http://www.google.com/profiles/wdietl
More information about the type-annotations-dev
mailing list