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

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Tue Dec 7 11:51:01 EST 2010


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

Marius Bogoevici reassigned WELD-458:
-------------------------------------

    Assignee:     (was: Marius Bogoevici)


> 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
>            Priority: Minor
>             Fix For: 1.2.0.Beta1
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list