[weld-issues] [JBoss JIRA] Updated: (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
Thu Jul 21 18:08:23 EDT 2011
[ https://issues.jboss.org/browse/WELD-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marius Bogoevici updated WELD-458:
----------------------------------
Fix Version/s: 1.2.0.Beta1
(was: 1.1.2.Final)
Deferred for 1.2.0.Beta1. We need to figure out what to do with this, since the implementation is lenient in certain cases - see WELD-469.
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list