laeubi opened a new pull request, #597:
URL: https://github.com/apache/felix-dev/pull/597
Proof of feasibility for osgi/org.osgi.service.resolver#51, which proposes
`ResolveContext.getExecutor()` returning an `Optional<Executor>`.
## Changes
- `ResolverImpl.resolve(ResolveContext)` runs its parallel work on the
executor of the resolve context if there is one.
It takes precedence over an executor or parallelism configured on the
resolver.
Without one, the previous behavior applies.
- `resolveDynamic` uses the executor of the context too, instead of always
running on the calling thread.
- The embedded copy of `ResolveContext` gets the new method, and the package
version is raised to 1.2.0 as proposed.
- A test checks that the executor of the context is used.
This is a proof of feasibility and depends on the specification change, so
it should not be merged before it is agreed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]