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

Stuart McCulloch commented on FELIX-624:
----------------------------------------

I'm not sure that the import is actually needed - have you checked the bytecode 
to see if the subclass uses the reference?

Note that there is a bug in Eclipse/PDE which does require this import (due to 
how PDE is grafted on top of JDT) but the bundles will typically deploy without 
error onto OSGi frameworks.

> 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