[ 
https://issues.apache.org/jira/browse/FELIX-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard S. Hall closed FELIX-1527.
----------------------------------

    Resolution: Fixed

Committed a patch for this, now Felix passes the BundleTracker TCK. 
Unfortunately, the fix requires us to now hold the bundle lock while firing the 
UNRESOLVED event.

> R4.2 spec errata now specifies uninstalling a bundle must transition through 
> INSTALLED on its way to UNINSTALLED
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1527
>                 URL: https://issues.apache.org/jira/browse/FELIX-1527
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework, Specification compliance
>    Affects Versions: felix-1.8.1
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>             Fix For: felix-2.0.0
>
>
> The R4.2 spec errata has re-defined the bundle life cycle transition from 
> RESOLVED->UNINSTALLED to be RESOLVED->INSTALLED->UNINSTALLED. This caused 
> issues for things like the BundleTracker, since the bundle state of bundles 
> during the UNRESOLVED event in Felix were UNINSTALLED, while in Equinox they 
> were INSTALLED.
> I am not completely happy about this spec change, since ultimately it boiled 
> down to the need for an UNRESOLVING event, but this could not be added in an 
> errata. Consequently, the life cycle transitions were changed to spec 
> consistent behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to