[ https://issues.apache.org/jira/browse/FELIX-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748798#action_12748798 ]
Thomas Diesler commented on FELIX-1538: --------------------------------------- Here is the test http://anonsvn.jboss.org/repos/jbossas/projects/jboss-osgi/trunk/testsuite/functional/src/test/java/org/jboss/test/osgi/jbosgi142/OSGI142TestCase.java > Exporter can load classes from importer > --------------------------------------- > > Key: FELIX-1538 > URL: https://issues.apache.org/jira/browse/FELIX-1538 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-2.0.0 > Reporter: Thomas Diesler > > A imports X > B imports X > Can X load a class from A or B? > Can A load a class from B and vice versa? > testLoadClass(org.jboss.test.osgi.jbosgi142.OSGI142TestCase) Time elapsed: > 1.743 sec <<< FAILURE! > java.lang.AssertionError: ClassNotFoundException expected for: > jbosgi142-bundleX loads org.jboss.test.osgi.jbosgi142.bundleA.BeanA > at org.junit.Assert.fail(Assert.java:92) > at > org.jboss.test.osgi.jbosgi142.OSGI142TestCase.assertBundleLoadClass(OSGI142TestCase.java:105) > at > org.jboss.test.osgi.jbosgi142.OSGI142TestCase.testLoadClass(OSGI142TestCase.java:83) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.