[cdi-dev] [JBoss JIRA] (CDI-731) Defaut methods in Annoted hierarchy should use privileged block

Antoine Sabot-Durand (JIRA) issues at jboss.org
Wed Jun 27 07:02:00 EDT 2018


Antoine Sabot-Durand created CDI-731:
----------------------------------------

             Summary: Defaut methods in Annoted hierarchy should use privileged block
                 Key: CDI-731
                 URL: https://issues.jboss.org/browse/CDI-731
             Project: CDI Specification Issues
          Issue Type: Bug
          Components: Javadoc and API
    Affects Versions: 2.0 .Final
            Reporter: Antoine Sabot-Durand


To deal with reporting annotation (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



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the cdi-dev mailing list