commit | 1b80d8422c51d02e751e11360baae404b5b27a2a | [log] [tgz] |
---|---|---|
author | Thomas Watson <tjwatson@us.ibm.com> | Fri Apr 28 15:50:45 2017 -0500 |
committer | Thomas Watson <tjwatson@us.ibm.com> | Fri Apr 28 16:08:44 2017 -0500 |
tree | cbd901f97b746d0cc13ddc437d8a7166339ff69e | |
parent | 28ff351cfc1b33eb84c70b295e8a86bf8b70d21f [diff] |
Bug 515878 - [regression] Validation error: org.eclipse.jetty.http missing constraint Change-Id: I50406b3a4cd1ff232bafc7f69f971757f26dd93f Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
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 d5201f6..ee6e88b 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 @@ 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) {