[weld-issues] [JBoss JIRA] Updated: (WELD-458) Interceptor for lifecycle callback with binding type @Target({TYPE, METHOD}) not detected as definition error

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Aug 11 19:06:52 EDT 2010


     [ https://jira.jboss.org/browse/WELD-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir updated WELD-458:
---------------------------

    Fix Version/s: 1.1.0.BETA2
                       (was: 1.1.0.BETA1)


> Interceptor for lifecycle callback with binding type @Target({TYPE, METHOD}) not detected as definition error
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: WELD-458
>                 URL: https://jira.jboss.org/browse/WELD-458
>             Project: Weld
>          Issue Type: Bug
>          Components: Interceptors and Decorators
>    Affects Versions: 1.0.1.Final
>            Reporter: Ondrej Skutka
>            Assignee: Marius Bogoevici
>             Fix For: 1.1.0.BETA2
>
>
> Spec says:
> An interceptor for lifecycle callbacks may only declare interceptor binding types that are defined as @Target(TYPE). If an
> interceptor for lifecycle callbacks declares an interceptor binding type that is defined @Target({TYPE, METHOD}), the con-
> tainer automatically detects the problem and treats it as a definition error.
> org.jboss.jsr299.tck.tests.interceptors.definition.broken.interceptorForLifecycleTargetMethod.InterceptorForLifecycleTargetMethodTest
> In the TCK trunk

-- 
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 weld-issues mailing list