]
Antoine Sabot-Durand reassigned CDI-731:
----------------------------------------
Assignee: Antoine Sabot-Durand
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
Assignee: Antoine Sabot-Durand
Fix For: 2.0.SP1
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