]
Marek Kopecký updated WFLY-11651:
---------------------------------
Affects Version/s: 15.0.0.Final
Add method parameter check in jaxrs apps
----------------------------------------
Key: WFLY-11651
URL:
https://issues.jboss.org/browse/WFLY-11651
Project: WildFly
Issue Type: Bug
Components: REST
Affects Versions: 15.0.0.Final, 16.0.0.Beta1
Reporter: R Searls
Assignee: R Searls
Priority: Critical
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.