geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Created] (XBEAN-280) parent classes can't be loaded through linkParent in some cases
Date Tue, 17 Mar 2015 11:23:38 GMT
Romain Manni-Bucau created XBEAN-280:
----------------------------------------

             Summary: parent classes can't be loaded through linkParent in some cases
                 Key: XBEAN-280
                 URL: https://issues.apache.org/jira/browse/XBEAN-280
             Project: XBean
          Issue Type: Bug
            Reporter: Romain Manni-Bucau
            Assignee: Romain Manni-Bucau
             Fix For: 4.2


at the moment linkParent tries to use normal scanning (bytecode) or reflection if not possible.

Issue is in this last case it checks info.clazz is already loaded which is likely not the
case. Toavoid it we have to call info.get() to let it a chance to load the class.

It also doesn't add the classinfo to the map of classinfo so inheritance is broken.

This fix will add the flag xbean.finder.prevent-lazy-linking=false to go back to previous
version in case it induce undesired side effects.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message