[
https://issues.apache.org/jira/browse/FELIX-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748835#action_12748835
]
Richard S. Hall commented on FELIX-1538:
----------------------------------------
I created a simple text case where A exports and B imports. In this test case,
B can load a class from A, but A fails to load a class from B, which is what I
would expect. Thus, it appears that there is more to your test case than meets
the eye. Can you attach example manifests that recreate the issue?
> 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.