Inheritance of type-level metadata for interceptor bindings.
------------------------------------------------------------
Key: JBIDE-6566
URL:
https://jira.jboss.org/browse/JBIDE-6566
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2.0.M1
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.2.0.M2
See the spec.:
4.1. Inheritance of type-level metadata.
Suppose a class X is extended directly or indirectly by the bean class of a managed bean
or session bean Y. If X is annotated with interceptor binding type Z then Y inherits the
annotation if and only if Z declares the @Inherited meta-annotation and neither Y nor any
intermediate class that is a subclass of X and a superclass of Y declares an annotation of
type Z.
Please add following tests:
1. Interceptor binding type for directly extended class bean annotated @Inherited is
inherited.
2. Interceptor binding type for directly extended class bean not annotated @Inherited is
not inherited.
3. Interceptor binding type for indirectly extended class bean annotated @Inherited is
inherited.
4. Interceptor binding type for indirectly extended class bean not annotated @Inherited is
not inherited.
Unfortunately TCK doesn't cover these cases.
--
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