R Searls created WFLY-11651:
-------------------------------
Summary: Add method parameter check in jaxrs apps
Key: WFLY-11651
URL:
https://issues.jboss.org/browse/WFLY-11651
Project: WildFly
Issue Type: Enhancement
Components: REST
Affects Versions: 16.0.0.Beta1
Reporter: R Searls
Assignee: R Searls
Attachments: RESTEASY-2062.zip
The jaxrs 2.1 spec section 3.2 require resource method parameters be checked at deployment
time of errors handling @DefaultValue annotations. This must be added in wfly because
resteasy is not called until the first client request.
Testing
Build and deploy attached app to wildfly.
Before code fix deployment should be successful.
Running app with cmd: curl "http://localhost:8080/jaxrs-wf/a?param=2"
should fail.
After code fix deployment should fail with detailed msg.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)