camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/2] git commit: Test doesnt work on IBM jdks
Date Mon, 28 Oct 2013 09:03:11 GMT
Updated Branches:
  refs/heads/camel-2.12.x 5275d2691 -> 43c0d79ea
  refs/heads/master 43261460d -> 8d9950ee6


Test doesnt work on IBM jdks


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/8d9950ee
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8d9950ee
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8d9950ee

Branch: refs/heads/master
Commit: 8d9950ee6b4043f82c5d3d09d70993026bd08c9e
Parents: 4326146
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Oct 28 09:54:12 2013 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Oct 28 09:54:12 2013 +0100

----------------------------------------------------------------------
 .../camel/component/xmlsecurity/ECDSASignatureTest.java   | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/8d9950ee/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/ECDSASignatureTest.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/ECDSASignatureTest.java
b/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/ECDSASignatureTest.java
index e904b30..03c86e9 100644
--- a/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/ECDSASignatureTest.java
+++ b/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/ECDSASignatureTest.java
@@ -74,10 +74,12 @@ public class ECDSASignatureTest extends CamelTestSupport {
     protected JndiRegistry createRegistry() throws Exception {
         JndiRegistry registry = super.createRegistry();
 
-        registry.bind("accessor", getKeyAccessor());
-        registry.bind("selector", 
-                      KeySelector.singletonKeySelector(getCertificateFromKeyStore().getPublicKey()));
-        registry.bind("uriDereferencer", getSameDocumentUriDereferencer());
+        // This test fails with the IBM JDK
+        if (!ibmJDK) {
+            registry.bind("accessor", getKeyAccessor());
+            registry.bind("selector", KeySelector.singletonKeySelector(getCertificateFromKeyStore().getPublicKey()));
+            registry.bind("uriDereferencer", getSameDocumentUriDereferencer());
+        }
 
         return registry;
     }


Mime
View raw message