[
https://issues.apache.org/jira/browse/XBEAN-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14002384#comment-14002384
]
Romain Manni-Bucau commented on XBEAN-265:
------------------------------------------
Important note: This will break async finder (this is then not thread safe).
The fact xbean is limited to the loadable classes from the archive is intended
by design (testFindSubclassesOfExternalAfterGet is not correct IMO, if you need
so then you create the archive from the classloader urls using ClassLoaders).
classInfos.put(classInfo.name, classInfo); should be done in readClassDef only
> Regression: cannot find subclasses/implementations of "external" classes
> after forcing ClassInfo.get()
> ------------------------------------------------------------------------------------------------------
>
> Key: XBEAN-265
> URL: https://issues.apache.org/jira/browse/XBEAN-265
> Project: XBean
> Issue Type: Bug
> Components: finder
> Affects Versions: 3.15, 3.16, 3.17
> Reporter: Matt Benson
> Labels: patch, test
>
> By "external" I mean available in the archive's classloader but not its
> iterated entries. In general it is rather difficult to test the class-based
> portion of {{AnnotationFinder}}'s implementation, but it can be done by
> calling {{#findAnnotatedClasses()}} before {{#link()}}. Then it is possible
> to demonstrate the problem.
--
This message was sent by Atlassian JIRA
(v6.2#6252)