[weld-issues] [JBoss JIRA] Commented: (WELD-796) ProcessAnnotatedType is fired for annotated types created during ProcessAnnotatedType

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Dec 17 03:12:17 EST 2010


    [ https://issues.jboss.org/browse/WELD-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570903#comment-12570903 ] 

Pete Muir commented on WELD-796:
--------------------------------

Given the spec says this explicitly, I think we have to stop firing events for BBD.addAnnotatedType, it's not correct, and these extensions won't be portable. We can address this in CDI 1.1 if you file an issue.

> ProcessAnnotatedType is fired for annotated types created during ProcessAnnotatedType
> -------------------------------------------------------------------------------------
>
>                 Key: WELD-796
>                 URL: https://issues.jboss.org/browse/WELD-796
>             Project: Weld
>          Issue Type: Bug
>    Affects Versions: 1.1.0.CR1
>            Reporter: Marius Bogoevici
>            Assignee: Pete Muir
>             Fix For: 1.1.0.CR2
>
>
> It's one of the causes of WELD-794 - if a newly created AnnotatedType is set on the ProcessAnnotatedType event created during WeldBootstrap.addClass(), a second event is fired for that specific type.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list