DO NOT REPLY [Bug 41660] - Fields in Annotations and AnnotationEntry are inaccessible to subclasses

[email protected] Sat, 15 Sep 2007 03:09:04 -0700 (PDT)
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41660>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41660


[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Fields in Annotations and   |Fields in Annotations and
                   |AnnotationEntry are private,|AnnotationEntry are
                   |should be protected         |inaccessible to subclasses




------- Additional Comments From [email protected]  2007-09-15 03:09 -------
I found another example of why this bug needs to be fixed:

http://forum.java.sun.com/thread.jspa?threadID=775449

Note that Mathias has created two entirely new types of annotations 
(RuntimeVisibleLocalVariableAnnotations and RuntimeInvisibleLocalVariableAnnotations). Naturally, one 
might want to use BCEL to read these annotations from a class file, but that's currently impossible. 
Unless this bug is fixed, BCEL is effectively hard-coded for the standard annotation names.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.