OsgiFriendlyClassWriter.getCommonSuperClass appears to have some errors.
------------------------------------------------------------------------
Key: ARIES-819
URL: https://issues.apache.org/jira/browse/ARIES-819
Project: Aries
Issue Type: Bug
Components: Proxy
Affects Versions: proxy.impl-0.4
Reporter: David Jencks
Assignee: David Jencks
Fix For: proxy.impl-0.4.1
problems seen:
- the shortcut to superclass when a type is the currently-being-written class
doesn't return the evaluated result. This could result in trying to load the
class being written anyway.
- if one of the types is an interface, the answer has to be java.lang.Object,
so we can return that immediately. The current code will throw an exception if
both types are interfaces.
In addition, I've opened an asm issue to move the special case evaluations to
a new internalGetCommonSuperClass method so we wouldn't have to track class
name and superclass name ourselves.
http://forge.ow2.org/tracker/index.php?func=detail&aid=316320&group_id=23&atid=350023
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira