diff options
author | Carsten Hammer | 2020-10-08 16:57:39 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2020-10-22 08:18:11 +0000 |
commit | c7becf2b0ca7c523cce92cbcab689a6d26617d69 (patch) | |
tree | 49d24f3107d01bea837a856705455b75e0dc637e | |
parent | d7c024f15311e85a8572d5532fb4a8e51982f92d (diff) | |
download | rt.equinox.framework-c7becf2b0ca7c523cce92cbcab689a6d26617d69.tar.gz rt.equinox.framework-c7becf2b0ca7c523cce92cbcab689a6d26617d69.tar.xz rt.equinox.framework-c7becf2b0ca7c523cce92cbcab689a6d26617d69.zip |
The code contains a conditional test performed twiceY20201025-1200Y20201024-1200Y20201023-1200I20201026-0840I20201026-0650I20201025-1800I20201025-0040I20201024-1800I20201023-1800I20201023-0250
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.java | 2 |
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 |