Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't try to add EE to bundles that don't have any requirements defined in manifest. ManifestUtils.getRequiredExecutionEnvironments() currently returns "generic" bundle runtime requirements from OSGI for bundles that don't define anything, and it seem to be violation of the org.osgi.framework.wiring.BundleRevision.getDeclaredRequirements(String) contract that isn't supposed to return anything if nothing is specified in the manifest. At least for API baseline tooling use of OSGI generic requirements not specified in the manifest do not make sense, as we compare what's written in the manifest and not what is derived from the platform or host. Fixes #1386
- Loading branch information