[weld-issues] [JBoss JIRA] Created: (CDITCK-146) org.jboss.jsr299.tck.interceptors.tests.lifecycleCallback.LifecycleCallbackInterceptorTest assumes that getTarget() will return a bean of the intercepted bean type
Marius Bogoevici (JIRA)
jira-events at lists.jboss.org
Tue Apr 27 14:31:10 EDT 2010
org.jboss.jsr299.tck.interceptors.tests.lifecycleCallback.LifecycleCallbackInterceptorTest assumes that getTarget() will return a bean of the intercepted bean type
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: CDITCK-146
URL: https://jira.jboss.org/jira/browse/CDITCK-146
Project: CDI TCK
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Marius Bogoevici
Assignee: Marius Bogoevici
Fix For: 1.1.0.CR1
In the test, it is assumed that getTarget() will return the bean classes of the intercepted beans (Cow, Hen, Goat). If the implementer chooses to use subclassing for interception, this is not true. getTarget() will still return the bean instance, but its actual type will be a subclass of the original bean class (generated for applying class enhancements).
--
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
More information about the weld-issues
mailing list