Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11651

Add method parameter check in jaxrs apps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 16.0.0.Final
    • 15.0.0.Final, 16.0.0.Beta1
    • REST
    • None

      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.

            rsearls r searls
            rsearls r searls
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: