[ https://issues.apache.org/jira/browse/FELIX-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611000#action_12611000 ]
Stuart McCulloch commented on FELIX-624: ---------------------------------------- I ran javap over the subclass and cannot find any reference to commons-collections in the bytecode, so it seems odd this bundle threw a CNFE because it should not need the import during classloading if there is no reference to it in the bytecode / constant pool (at least according to the JVM spec). Also I started the two bundles and the commons-collections bundle (v3.2.1) successfully in Felix and saw no problem - all the bundles resolved ok. > 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.