[richfaces-issues] [JBoss JIRA] Commented: (RF-8975) Move access to annotations in the CDK APT to the AnnotationMirrors

Alexander Smirnov (JIRA) jira-events at lists.jboss.org
Fri Jul 23 20:49:33 EDT 2010


    [ https://jira.jboss.org/browse/RF-8975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12540850#action_12540850 ] 

Alexander Smirnov commented on RF-8975:
---------------------------------------

That is actually JDK bug: http://bugs.sun.com/view_bug.do;jsessionid=1e9e4b86c63957b12b620a478e46?bug_id=6519115, not fixed yet.

> Move access to annotations in the CDK APT to the AnnotationMirrors
> ------------------------------------------------------------------
>
>                 Key: RF-8975
>                 URL: https://jira.jboss.org/browse/RF-8975
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: CDK
>            Reporter: Alexander Smirnov
>            Assignee: Alexander Smirnov
>             Fix For: 4.0.0.Milestone2
>
>
> That is probably bug in the Java Compiler API. Although description of getAnnotation method http://java.sun.com/javase/6/docs/api/javax/lang/model/element/Element.html#getAnnotation(java.lang.Class) promises to throw MirroredTypesException in attempt to get array of classes, only the first value available. Hence, model ignores additional values in annotations.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list