[
https://issues.apache.org/jira/browse/XBEAN-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain Manni-Bucau closed XBEAN-280.
------------------------------------
Resolution: Fixed
> 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)