Closed bjhargrave closed 9 years ago
Comment author: @bjhargrave
When a component property type has members of type Class or Enum and the property value has an unsupported type, DS must create the component property type object and throw a ComponentException when the member is called. See table 112.10 in section 112.8.2.2.
The RI will fail to activate the component if the property value has an unsupported type:
org.osgi.service.component.ComponentException: Failed activating component at org.apache.felix.scr.impl.manager.ComponentFactoryImpl.newInstance(ComponentFactoryImpl.java:146) at org.osgi.test.cases.component.annotations.junit.ComponentPropertyTypeTestCase.testCoercion130(ComponentPropertyTypeTestCase.java:247)
Comment author: David Jencks <djencks@us.ibm.com>
fixed at apache r1692035 cf. https://issues.apache.org/jira/browse/FELIX-4968
Comment author: @cziegeler
Updated the RI, tests pass
Original bug ID: BZ#2847 From: @bjhargrave Reported version: R6