The changed made to the consistency/constraint checking portion of the
resolve for require-bundle were too strict, causing it to fail both in
Import-Package and Require-Bundle scenarios that were not strictly
consistency violations. Specifically, if a given model does not
explicitly import a given package, then it is not necessary to check if
multiple providers of that package that are propagated into its class
space are consistent. As a result, I modified the consistency checking
to simply gather all implied uses constraints and them check them all at
once for a given model, rather than trying to check as the implied uses
constraints were being calculated. This is really difficult stuff to
explain in a commit message. I also added more comments trying to
explain this stuff better in the source code and improved some variable
naming. (FELIX-28)
git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@514016 13f79535-47bb-0310-9956-ffa450edef68
1 file changed