Community
Participate
Working Groups
According to the OSGi R4 specification ... "The same Condition object must not be evaluated recursively. The Framework must detect the recursive evaluation of a Condition object and pretend that the second invocation returns an unsatisfied not postponed Condition object." This is to prevent postponed condition checks from looping into an endless recursion. The current implementation prevents any type of recursion, even if the recursion does not go into the same condition class more than once. Recursion should be allowed as long as we can detect that the same condition class is not used more than once in a recursive check.
Fixed in HEAD for 3.2. Still need to backport to 3.1.1.
Leaving bug open to backport fix to 3.1.1
Created attachment 25439 [details] Proposed fix
Pascal, please review patch against 3_1_maintenance branch.
Tom explained me the core of the patch and it is good to go. This code is however a good place for 3.2 optimizations (not because of the patch itself but because of its shape).
Fixed in R3_1_maintenance branch.