You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2018/10/03 16:14:44 UTC

[cxf] 03/07: Disabling a ClientAuthTest with JDK11

This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit f652464526edb0cb7eac277ff64c9f2d02e2b920
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Wed Oct 3 15:10:41 2018 +0100

    Disabling a ClientAuthTest with JDK11
---
 .../java/org/apache/cxf/systest/https/clientauth/ClientAuthTest.java  | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/systests/transports/src/test/java/org/apache/cxf/systest/https/clientauth/ClientAuthTest.java b/systests/transports/src/test/java/org/apache/cxf/systest/https/clientauth/ClientAuthTest.java
index 11a7d23..d330723 100644
--- a/systests/transports/src/test/java/org/apache/cxf/systest/https/clientauth/ClientAuthTest.java
+++ b/systests/transports/src/test/java/org/apache/cxf/systest/https/clientauth/ClientAuthTest.java
@@ -44,6 +44,7 @@ import org.apache.cxf.common.classloader.ClassLoaderUtils;
 import org.apache.cxf.configuration.jsse.TLSClientParameters;
 import org.apache.cxf.endpoint.Client;
 import org.apache.cxf.frontend.ClientProxy;
+import org.apache.cxf.helpers.JavaUtils;
 import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
 import org.apache.cxf.transport.http.HTTPConduit;
 import org.apache.hello_world.Greeter;
@@ -52,6 +53,7 @@ import org.bouncycastle.jce.provider.BouncyCastleProvider;
 import org.bouncycastle.jsse.provider.BouncyCastleJsseProvider;
 
 import org.junit.AfterClass;
+import org.junit.Assume;
 import org.junit.BeforeClass;
 
 /**
@@ -367,6 +369,8 @@ public class ClientAuthTest extends AbstractBusClientServerTestBase {
     // See CXF-7782
     @org.junit.Test
     public void testBouncyCastleProvider() throws Exception {
+        // TODO There seems to be a bug with BC 1.60 + JDK 11
+        Assume.assumeFalse(JavaUtils.isJava11Compatible());
         try {
             Security.addProvider(new BouncyCastleProvider());
             Security.addProvider(new BouncyCastleJsseProvider());