You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2017/01/19 08:02:02 UTC

[16/16] cxf git commit: [CXF-7215]diable CodeFirstTest#testCXF1510 with java9

[CXF-7215]diable CodeFirstTest#testCXF1510 with java9


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/86251ae7
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/86251ae7
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/86251ae7

Branch: refs/heads/master
Commit: 86251ae75e6a663d6419623f47e393dd7a042742
Parents: 0a305af
Author: Freeman Fang <fr...@gmail.com>
Authored: Thu Jan 19 16:01:25 2017 +0800
Committer: Freeman Fang <fr...@gmail.com>
Committed: Thu Jan 19 16:01:25 2017 +0800

----------------------------------------------------------------------
 .../src/test/java/org/apache/cxf/jaxws/CodeFirstTest.java     | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/86251ae7/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/CodeFirstTest.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/CodeFirstTest.java b/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/CodeFirstTest.java
index 67cd875..d350e3e 100644
--- a/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/CodeFirstTest.java
+++ b/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/CodeFirstTest.java
@@ -72,7 +72,6 @@ import org.apache.cxf.transport.local.LocalTransportFactory;
 import org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean;
 import org.apache.cxf.wsdl11.ServiceWSDLBuilder;
 import org.apache.ws.commons.schema.constants.Constants;
-import org.junit.Ignore;
 import org.junit.Test;
 
 
@@ -463,8 +462,12 @@ public class CodeFirstTest extends AbstractJaxWsTest {
         }
     }
     
-    @Ignore
+    @Test
     public void testCXF1510() throws Exception {
+        if (System.getProperty("java.version").startsWith("9")) {
+            //can't pass with java9 so far
+            return;
+        }
         JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean(); 
         factory.setServiceClass(NoRootBare.class); 
         factory.setServiceBean(new NoRootBareImpl());