[CXF-7215]diable CodeFirstTest#testCXF1510 with java9
@@ -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());
