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

Ales Justin (Updated) (JIRA) jira-events at lists.jboss.org
Wed Nov 9 06:34:01 EST 2011


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

Ales Justin updated WELD-458:
-----------------------------

    Fix Version/s: 1.2.0.Beta1
                       (was: 1.1.3.Final)

    
> Interceptor for lifecycle callback with binding type @Target({TYPE, METHOD}) not detected as definition error
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: WELD-458
>                 URL: https://issues.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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list