aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (Created) (JIRA)" <>
Subject [jira] [Created] (ARIES-819) OsgiFriendlyClassWriter.getCommonSuperClass appears to have some errors.
Date Tue, 31 Jan 2012 00:37:10 GMT
OsgiFriendlyClassWriter.getCommonSuperClass appears to have some errors.

                 Key: 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message