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

Carsten Ziegeler commented on FELIX-4785:
-----------------------------------------

I've added the old API together with an implementation back in rev 1657502
and deprecated the API

However, as soon as the ScrService is registered, one test case fails - so 
there seems to be a timing problem with the test.

Changing line 152 in the Activator to
        m_runtime_reg = m_context.registerService(new String[] 
{ScrService.class.getName(), ServiceComponentRuntime.class.getName()},

a test fails 

> Incompatible SCR API
> --------------------
>
>                 Key: FELIX-4785
>                 URL: https://issues.apache.org/jira/browse/FELIX-4785
>             Project: Felix
>          Issue Type: Bug
>    Affects Versions: scr-2.0.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: scr-2.0.0
>
>
> Current trunk contains version 2.0.0 of the org.apache.felix.scr API package. 
> While this is a logical step, this makes the new implementation unusable as a 
> drop-in replacement into existing installations which might use the 1.x 
> version of that API.
> I think we should go a more moderate way, leave the 1.x version in but 
> deprecate it and also provide the replacement API (if any). Then in one of 
> the further versions along the road, we can remove the API. This gives our 
> users a chance to migrate slowly



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to