Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-731

Default methods in Annotated hierarchy should use privileged blocs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Explained
    • Affects Version/s: 2.0 .Final
    • Fix Version/s: 2.0.SP1
    • Component/s: Javadoc and API
    • Labels:
      None

      Description

      To deal with repearting annotatiosn (see CDI-471), CDI 2.0 introduced default method getAnnotations, in the following interfaces:

      • AnnotatedConstructor
      • AnnotatedField
      • AnnotatedMethod
      • AnnotatedParameter
      • AnnotatedType

      These methods make use of reflection and thus should use privileged blocs when used with a security manager

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                antoinesabot-durand Antoine Sabot-Durand
                Reporter:
                antoinesabot-durand Antoine Sabot-Durand
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: