You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2014/04/24 10:45:16 UTC

[jira] [Updated] (BCEL-96) Fields in Annotations and AnnotationEntry are inaccessible to subclasses

     [ https://issues.apache.org/jira/browse/BCEL-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bourg updated BCEL-96:
-------------------------------

         Priority: Blocker
      Environment:     (was: Operating System: All
Platform: All)
    Fix Version/s: 6.0
         Priority:   (was: P2)
         Severity:   (was: normal)

> Fields in Annotations and AnnotationEntry are inaccessible to subclasses
> ------------------------------------------------------------------------
>
>                 Key: BCEL-96
>                 URL: https://issues.apache.org/jira/browse/BCEL-96
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Main
>    Affects Versions: unspecified
>            Reporter: Trevor Harmon
>            Assignee: Apache Commons Developers
>            Priority: Blocker
>             Fix For: 6.0
>
>         Attachments: protected-fields.patch
>
>
> I am using the new annotation support in the BCEL trunk to write a utility for processing custom 
> annotations. This required extending the Annotations and AnnotationEntry classes, and the subclasses I 
> created needed to access the fields in the superclasses. Unfortunately, this wasn't possible because 
> these fields have private access. They should instead have protected access.



--
This message was sent by Atlassian JIRA
(v6.2#6252)