Blame SOURCES/eclipse-disable-uses-constraints.patch

11dc0f
From 889543269853e12925ef00a6e76c3dd85ce5b915 Mon Sep 17 00:00:00 2001
11dc0f
From: Roland Grunberg <rgrunber@redhat.com>
11dc0f
Date: Tue, 25 Oct 2016 16:48:28 -0400
11dc0f
Subject: [PATCH] Disable uses by default (osgi.resolver.usesMode=ignore).
11dc0f
 set.
11dc0f
11dc0f
---
11dc0f
 .../felix/src/org/apache/felix/resolver/ResolverImpl.java             | 4 +++-
11dc0f
 1 file changed, 3 insertions(+), 1 deletion(-)
11dc0f
11dc0f
diff --git rt.equinox.framework/bundles/org.eclipse.osgi/felix/src/org/apache/felix/resolver/ResolverImpl.java rt.equinox.framework/bundles/org.eclipse.osgi/felix/src/org/apache/felix/resolver/ResolverImpl.java
11dc0f
index ded683f..7216865 100755
11dc0f
--- rt.equinox.framework/bundles/org.eclipse.osgi/felix/src/org/apache/felix/resolver/ResolverImpl.java
11dc0f
+++ rt.equinox.framework/bundles/org.eclipse.osgi/felix/src/org/apache/felix/resolver/ResolverImpl.java
11dc0f
@@ -1231,7 +1231,9 @@ public class ResolverImpl implements Resolver
11dc0f
             {
11dc0f
                 public void run()
11dc0f
                 {
11dc0f
-                    computeUses(session, allWireCandidates, allPackages, resource);
11dc0f
+                    if (! "ignore".equals(System.getProperty("osgi.resolver.usesMode"))) {
11dc0f
+                        computeUses(session, allWireCandidates, allPackages, resource);
11dc0f
+                    }
11dc0f
                 }
11dc0f
             });
11dc0f
         }
11dc0f
-- 
11dc0f
2.7.4
11dc0f