[ 
https://issues.apache.org/jira/browse/FELIX-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610954#action_12610954
 ] 

Carsten Ziegeler commented on FELIX-624:
----------------------------------------

No, the subclass is not directly using the class from commons-collections. 

Ah, i see (dumb me)  - yes, the bundle is loaded correctly - it's a problem 
later on with SCR - the scr implementation is not able to instantiate
an instance of this class.

So I guess that this is rather an SCR bug then, right?

> Import statement incomplete when inheriting from an abstract class from 
> another bundle
> --------------------------------------------------------------------------------------
>
>                 Key: FELIX-624
>                 URL: https://issues.apache.org/jira/browse/FELIX-624
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-1.4.1
>            Reporter: Carsten Ziegeler
>         Attachments: test.zip
>
>
> I have two bundles:
> Bundle a exporting an abstract class which has a reference to another class 
> (in my test scenario to a class from commons-collections)
> Bundle b has a class inheriting from the abstract class from Bundle a
> The import package statement in Bundle b does not include the 
> commons-collections class which results in class not found exceptions
> when bundle b is started.
> This might either be a buig in the maven-bundle-plugin or the used bnd 
> version.
> I'll add a simple test case

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to