[
https://issues.apache.org/jira/browse/FELIX-3411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253119#comment-13253119
]
Yasuhiro Kawame commented on FELIX-3411:
----------------------------------------
I won't say about blacklisting.
I believe that the implementation is different from the the following spec.
R4.3 spec
8.3.1 Changing the Active Start Level
If the requested start level is higher than the active start level, the
Framework must increase the start
level by one and then start all bundles that meet the following criteria:
• Bundles that are persistently marked started, and
• Bundles that have a bundle start level equal to the new active start level.
The Framework continues increasing the active start level and starting the
appropriate bundles until
it has started all bundles with a bundle start level that equals the requested
start level.
For example, assume the active start level is 3 and the Framework is requested
to transition to start level
5.
I think the framework must attempt to start all bundles that have a bundle
start level 4 or 5.
So I think Bundle_02 must not be started.
> The implementation of
> org.osgi.service.startlevel.StartLevel#setStartLevel(int) does not follow the
> spec
> --------------------------------------------------------------------------------------------------------
>
> Key: FELIX-3411
> URL: https://issues.apache.org/jira/browse/FELIX-3411
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: framework-4.0.2
> Reporter: Yasuhiro Kawame
>
> I think that the implementation of Changing the Active Start Level is
> different from Spec.
> see:
> OSGi Service Platform Core Specification Release 4, Version 4.3, Figure 8.2
> page154
> Move to requested start level R, active level is A, B is a bundle's start
> level
> Spec:
> if (A < R)
> while (A < R) {
> A = A + 1
> Start All bundles where B = A
> }
> Implementation:
> if (A < R)
> Start All bundles where B <= R
> A = R
> Similarly, if A > R.
> Javadoc:
> http://www.osgi.org/javadoc/r4v43/org/osgi/service/startlevel/StartLevel.html#setStartLevel%28int%29
> http://www.osgi.org/javadoc/r4v43/org/osgi/framework/startlevel/FrameworkStartLevel.html#setStartLevel(int,
> org.osgi.framework.FrameworkListener...)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira