cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject [16/16] cxf git commit: [CXF-7215]diable CodeFirstTest#testCXF1510 with java9
Date Thu, 19 Jan 2017 08:02:02 GMT
[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 <freeman.fang@gmail.com>
Authored: Thu Jan 19 16:01:25 2017 +0800
Committer: Freeman Fang <freeman.fang@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()); 


Mime
View raw message