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] [Commented] (XBEAN-265) Regression: cannot find subclasses/implementations of "external" classes after forcing ClassInfo.get()
Date Tue, 20 May 2014 05:41:38 GMT

    [ https://issues.apache.org/jira/browse/XBEAN-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14002816#comment-14002816
] 

Romain Manni-Bucau commented on XBEAN-265:
------------------------------------------

Hi Matt

async or not the finder behavior should be the same.

The main point is finder finds classes in Archive excepted for inheritance where it leaks.
Was a bug when implemented (tomee has ~200 lines to workaround it and OSGi libs additional
checks).

readClassDef I spoke about is the other one using asm visitor.

BTW I'll add a test about this limitation in the week.

For your particular issue, would adding a CompositeURLsArchive(URLs) work?

> 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)

Mime
View raw message