[
https://issues.jboss.org/browse/WELD-1062?page=com.atlassian.jira.plugin....
]
Gert Palok commented on WELD-1062:
----------------------------------
Thanks!
In my project I copied WeldClassImpl and replaced relevant code with:
{code}
if (rawType.getSuperclass() != null) {
this.superclass = classTransformer.loadClass(rawType.getSuperclass());
} else if (modified) {
this.superclass = classTransformer.loadClass(Object.class);
} else {
this.superclass = null;
}
{code}
But since I couldn't get the tests running, I was unable to verify the fix
Superclass of a modified AnnotatedType is ignored
-------------------------------------------------
Key: WELD-1062
URL:
https://issues.jboss.org/browse/WELD-1062
Project: Weld
Issue Type: Bug
Affects Versions: 1.1.5.Final, 2.0.0.Alpha1
Reporter: Gert Palok
Assignee: Ales Justin
Attachments: annotatedtype-superclass.zip
When modifying an AnnotatedType in ProcessAnnotatedType event, the resulting Bean
instance will have Object as its superclass instead of the real superclass, causing
inherited injection points to be ignored
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira