Interceptor for lifecycle callback with binding type @Target({TYPE, METHOD}) not detected
as definition error
-------------------------------------------------------------------------------------------------------------
Key: WELD-458
URL:
https://jira.jboss.org/jira/browse/WELD-458
Project: Weld
Issue Type: Bug
Components: Interceptors and Decorators
Affects Versions: 1.0.1.Final
Reporter: Ondrej Skutka
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/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira