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

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Thu Dec 16 19:30:17 EST 2010


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

Stuart Douglas commented on WELD-796:
-------------------------------------

If we stop firing ProcessAnnotatedType events for types added through BeforeBeanDiscovery.addAnnotatedType it will break a lot of functionality to do with XML configuration (among other things), as these classes will not be processed by portable extensions. 


> 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