Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Hammer2020-10-08 16:57:39 +0000
committerAlexander Kurtakov2020-10-22 08:18:11 +0000
commitc7becf2b0ca7c523cce92cbcab689a6d26617d69 (patch)
tree49d24f3107d01bea837a856705455b75e0dc637e
parentd7c024f15311e85a8572d5532fb4a8e51982f92d (diff)
downloadrt.equinox.framework-c7becf2b0ca7c523cce92cbcab689a6d26617d69.tar.gz
rt.equinox.framework-c7becf2b0ca7c523cce92cbcab689a6d26617d69.tar.xz
rt.equinox.framework-c7becf2b0ca7c523cce92cbcab689a6d26617d69.zip
Change the typo to test both INCLUDE and EXCLUDE Change-Id: I29fd936ed748144ad2377ba38c2ecc4e7adafaba Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/BundleLoaderSources.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/BundleLoaderSources.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/BundleLoaderSources.java
index 3b24f87c6..c35a1579e 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/BundleLoaderSources.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/loader/BundleLoaderSources.java
@@ -46,7 +46,7 @@ public class BundleLoaderSources {
boolean forceSourceCreation(ModuleCapability packageCapability) {
Map<String, String> directives = packageCapability.getDirectives();
- return directives.get(PackageNamespace.CAPABILITY_EXCLUDE_DIRECTIVE) != null || directives.get(PackageNamespace.CAPABILITY_EXCLUDE_DIRECTIVE) != null;
+ return directives.get(PackageNamespace.CAPABILITY_INCLUDE_DIRECTIVE) != null || directives.get(PackageNamespace.CAPABILITY_EXCLUDE_DIRECTIVE) != null;
}
// creates a PackageSource from an ExportPackageDescription. This is called when initializing

Back to the top