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

Richard S. Hall commented on FELIX-4355:
----------------------------------------

This failure appears to result from the fact that the Felix framework assumes 
the "extension" directive is mandatory for extension bundles, but the R5 CT now 
appears to treat it as optional with a default value of "framework". Trying to 
determine if this is a spec change or CT error.

> [Core R5] org.osgi.test.cases.framework.launch OSGi CT test failure
> -------------------------------------------------------------------
>
>                 Key: FELIX-4355
>                 URL: https://issues.apache.org/jira/browse/FELIX-4355
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>            Reporter: David Bosschaert
>             Fix For: framework-4.4.0
>
>
> The org.osgi.test.cases.framework.launch OSGi CT test suite has 1 test 
> failure:
> org.osgi.test.cases.framework.launch.junit.ExtensionBundleTests
> testFrameworkExtensionDefault(org.osgi.test.cases.framework.launch.junit.ExtensionBundleTests)
> junit.framework.AssertionFailedError: expected framework extension bundle to 
> be resolved
>       at junit.framework.Assert.fail(Assert.java:47)
>       at junit.framework.Assert.assertTrue(Assert.java:20)
>       at 
> org.osgi.test.cases.framework.launch.junit.ExtensionBundleTests.testFrameworkExtensionDefault(ExtensionBundleTests.java:169)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at junit.framework.TestCase.runTest(TestCase.java:164)
>       at junit.framework.TestCase.runBare(TestCase.java:130)
>       at junit.framework.TestResult$1.protect(TestResult.java:106)
>       at junit.framework.TestResult.runProtected(TestResult.java:124)
>       at junit.framework.TestResult.run(TestResult.java:109)
>       at junit.framework.TestCase.run(TestCase.java:120)
>       at junit.framework.TestSuite.runTest(TestSuite.java:230)
>       at junit.framework.TestSuite.run(TestSuite.java:225)
>       at junit.framework.TestSuite.runTest(TestSuite.java:230)
>       at junit.framework.TestSuite.run(TestSuite.java:225)
>       at aQute.junit.Activator.test(Activator.java:226)
>       at aQute.junit.Activator.automatic(Activator.java:118)
>       at aQute.junit.Activator.run(Activator.java:59)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to