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

    • Bug
    • Resolution: Not a Bug
    • Major
    • 2.0.SP1
    • 2.0 .Final
    • Javadoc and API
    • 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

      Attachments

        Activity

          People

            asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
            asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: