[weld-issues] [JBoss JIRA] Commented: (WELDX-56) AnnotationInvokationHandler has no support for annotation default values

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Dec 3 07:36:29 EST 2009


    [ https://jira.jboss.org/jira/browse/WELDX-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12497983#action_12497983 ] 

Pete Muir commented on WELDX-56:
--------------------------------

Stuart, I'm not sure I like this, seems a bit like magic...

> AnnotationInvokationHandler has no support for annotation default values
> ------------------------------------------------------------------------
>
>                 Key: WELDX-56
>                 URL: https://jira.jboss.org/jira/browse/WELDX-56
>             Project: Weld Extensions
>          Issue Type: Bug
>            Reporter: Stuart Douglas
>         Attachments: an-inv-hand-patch-2.diff, an-inv-hand-patch.diff
>
>
> Attached patch supplies 'sensible' defaults for annotation values to prevent null pointer exceptions. It would be nice if it was possible to get the default values that were defined on the annotation type, but I am not sure how to do that (or even if it is possible).

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

        


More information about the weld-issues mailing list