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

Default methods in Annotated hierarchy should use privileged blocs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • 2.0.SP1
    • 2.0 .Final
    • Javadoc and API
    • None

      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

              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

                Created:
                Updated:
                Resolved: