resolver

Checkout Tools
  • last updated 33 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
FELIX-6140: possible deadlock in ResolverImpl.EnhancedExecutor.await()

Change await implementation to use a Queue<Future<Void>> to avoid

inaccurate accounting of task count to wait for completion when an

exception is thrown from executor.execute() method. There are scenarios

where the resolver algorithm can take a huge amount of memory resulting

in out of memory errors. If this happens to occur when dispatching a

task to the executor then the count was never decremented.

Set development version to 2.1.0-SNAPSHOT
[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release org.apache.felix.resolver-2.0.0
Update changelog for release
Update to latest parent pom version 5
Update trunk to the osgi-r7 resolver
  1. … 1 more file in changeset.
[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release org.apache.felix.resolver-1.16.0
Update svn:ignore
Update changelog for release
FELIX-5782 allow resolver errors to be introspected

Signed-off-by: Raymond Augé <rotty3000@apache.org>

  1. ./src/main/resources/org/apache/felix/resolver/reason
  2. ./src/main/resources/org/apache/felix/resolver
  3. … 12 more files in changeset.
[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release org.apache.felix.resolver-1.14.0
[maven-release-plugin] rollback the release of org.apache.felix.resolver-1.14.0
[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release org.apache.felix.resolver-1.14.0
Update changelog for release.
FELIX-5601 - issues resolving with substitutable exports

Original fix had issues with assuming the Candidates::m_dependenMap

got updated as the CandidateSelectors moved on to the next candidate.

Need an additional check to make sure the current candidate is the

one that could be substituted.

This also exposed an issue with the solution for the testcase

that had long blame requirement chain. In this case we have

historically started at the direct requirement for the conflicting

capability and worked our way back to the root requirement for

the blame chain.

This worked for the most part when we didn't pay attention to

substitutable capabilities when permuting, but I suspect there

were still cases where this would eliminate. This fix now

traverses the blame chain from both directions to ensure

we can find a solution when one exists

FELIX-5601 - issues resolving with substitutable exports
[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release org.apache.felix.resolver-1.12.0
Update changelogs for release.
  1. … 6 more files in changeset.
[FELIX-5514] Issues with substituted exports with require bundle

Modify solution to avoid adding API to wiring implementations

[FELIX-5514] Issues with substituted exports with require bundle

A framework implementation already has to calculate substituted packages

for the bundle wirings according to the wires returned by the resolver.

Instead of always having the resolver recalculate the substituted

exports I added a new interface (FelixWiring) which has a method to get

the substitution wires.

In cases where the resolve context does not provide instances of

FelixWiring there is code to do the calculation again based on the wires

in the Wiring. I added 6 new testcases to cover the different cases for

when bundles are already resolved using FelixWiring objects or just

plain Wiring objects and also cases when a substitutable export is

really substituted or not.

    • ?
    ./src/main/java/org/apache/felix/resolver/FelixWiring.java
prepare for next resolver maintenance release 1.10.2
[FELIX-5450] Fragments with multiple hosts can cause

java.lang.ArrayIndexOutOfBoundsException

Change-Id: Id1123619bd89a4d3f6a8a251fe8ee6944c113e56

Signed-off-by: Tom Watson <tjwatson@apache.org>

[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release org.apache.felix.resolver-1.10.1
Update changelog for release