[jboss-jira] [JBoss JIRA] (WFLY-11651) Add method parameter check in jaxrs apps
R Searls (Jira)
issues at jboss.org
Fri Jan 25 09:36:00 EST 2019
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)
More information about the jboss-jira
mailing list