Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/StateObjectFactoryImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/StateObjectFactoryImpl.java b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/StateObjectFactoryImpl.java
index d5201f667..ee6e88b3c 100644
--- a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/StateObjectFactoryImpl.java
+++ b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/StateObjectFactoryImpl.java
@@ -217,7 +217,7 @@ public class StateObjectFactoryImpl implements StateObjectFactory {
GenericSpecificationImpl req = new GenericSpecificationImpl();
req.setName(genericRequires[i].getName());
req.setType(genericRequires[i].getType());
- req.setResolution(req.getResolution());
+ req.setResolution(genericRequires[i].getResolution());
try {
req.setMatchingFilter(genericRequires[i].getMatchingFilter(), false);
} catch (InvalidSyntaxException e) {

Back to the top