[
https://jira.jboss.org/browse/JBIDE-6380?page=com.atlassian.jira.plugin.s...
]
Viacheslav Kabanovich commented on JBIDE-6380:
----------------------------------------------
The feature was already mainly implemented. There was error in method
ClassBean.getInheritedQualifierDeclarations() that always checked if qualifiers of super
class have @Inherited, while for that check should be omitted in case of specialized
bean's super class.
Specializing bean should inherit the qualifiers and name of
specialized bean.
-----------------------------------------------------------------------------
Key: JBIDE-6380
URL:
https://jira.jboss.org/browse/JBIDE-6380
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2.next
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.2.next
For example:
@Mock @Specializes
public class MockAsynchronousService extends AsynchronousService {
...
}
@Default @Asynchronous @Named("asyncService")
public class AsynchronousService implements Service{
...
}
then MockAsynchronousService inherits the qualifiers and name of AsynchronousService.
See 4.3 section of the spec.
All the tests of org.jboss.tools.cdi.core.test.tck.BeanSpecializationTest JUnit should
pass.
--
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