Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-96

Fields in Annotations and AnnotationEntry are inaccessible to subclasses

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 6.0
    • Main
    • None

    Description

      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.

      Attachments

        1. protected-fields.patch
          1 kB
          Trevor Harmon

        Activity

          People

            issues@commons.apache.org Apache Commons Developers
            vocaro Trevor Harmon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: