-
Bug
-
Resolution: Done
-
Major
-
jbossws-cxf-4.3.2, jbossws-cxf-5.0.0.Beta3
-
None
Having simple SEI and POJO webservice with JDK8 feature - default method for interface:
@WebService public interface GreeterSEI { default public String sayHello() { return "Hello, Default"; } } //---------------------------------------------------------- @WebService public class GreeterImpl implements GreeterSEI {}
When you try to execute sayHello method:
Service greeterService = Service.create(...);
GreeterSEI g = greeterService.getPort(GreeterSEI.class);
Assert.assertEquals("JBoss", greeter.sayHello());
You will get a message-less IllegalStateException on server.
Expected results:
no exception, default implementation of method is invoked.
Or if this is considered unsupported usage, the exception should be more descriptive (ie.: "Method xx not found on implementation class")
- is caused by
-
WFCORE-579 ProxyMetadataSource does not return JDK8 'default' methods from interfaces
- Resolved
- is incorporated by
-
WFLY-4404 View does not inherit 'default' methods from interfaces( JDK8 )
- Closed