[
https://issues.apache.org/jira/browse/FELIX-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787907#action_12787907
]
Chris Custine commented on FELIX-1929:
--------------------------------------
This patch seems to do the the trick perfectly for me and both increments and
decrements the active start level as it changes. I didn't see any point in
incrementing by +1 when there are no bundles in that startlevel so I just
inserted the increment/decrement inside the start/stop blocks. Those are
already executed in proper order and have the only reference to what the
current start level is (ie, start level of the current bundle).
Could one of the framework guys review this and let me know if this looks ok to
commit?
> getStartLevel() always reports requested start level, not active start level
> ----------------------------------------------------------------------------
>
> Key: FELIX-1929
> URL: https://issues.apache.org/jira/browse/FELIX-1929
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: felix-2.0.2
> Reporter: Chris Custine
> Assignee: Chris Custine
> Priority: Minor
> Attachments: FELIX-1929.patch
>
>
> Start Level spec for getStartLevel() states: "If the Framework is in the
> process of changing the start level this method must return the active start
> level if this differs from the requested start level."
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.