Return-Path: X-Original-To: apmail-geronimo-xbean-dev-archive@minotaur.apache.org Delivered-To: apmail-geronimo-xbean-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ADBF411FEF for ; Tue, 20 May 2014 05:41:38 +0000 (UTC) Received: (qmail 54050 invoked by uid 500); 20 May 2014 05:41:38 -0000 Delivered-To: apmail-geronimo-xbean-dev-archive@geronimo.apache.org Received: (qmail 54019 invoked by uid 500); 20 May 2014 05:41:38 -0000 Mailing-List: contact xbean-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: xbean-dev@geronimo.apache.org Delivered-To: mailing list xbean-dev@geronimo.apache.org Received: (qmail 54011 invoked by uid 99); 20 May 2014 05:41:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2014 05:41:38 +0000 Date: Tue, 20 May 2014 05:41:38 +0000 (UTC) From: "Romain Manni-Bucau (JIRA)" To: xbean-dev@geronimo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (XBEAN-265) Regression: cannot find subclasses/implementations of "external" classes after forcing ClassInfo.get() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)