Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13836 Pass the Jakarta EE 9 Platform TCK
  3. WFLY-14012

servlet/api/jakarta_servlet/servletcontext/URLClient.java#GetMajorVersionTest fails due to incorrect Major Servlet API SPEC version `4` being returned instead of expected `5`

XMLWordPrintable

    • Undefined
    • ---
    • ---

      Jakarta EE 9 Platform TCK test TCK servlet/api/jakarta_servlet/servletcontext/URLClient.java#GetMajorVersionTest is failing with:

      [javatest.batch] getMajorVersion() returned 4
      [javatest.batch] Expected ServletContext.getMajorVersion() -> 5
      [javatest.batch] Test FAILED

      Likely cause is https://github.com/undertow-io/undertow/blob/master/servlet/src/main/java/io/undertow/servlet/api/DeploymentInfo.java#L72 returning major Servlet API SPEC version of 4 instead of 5. Version 4 is correct for https://jakarta.ee/specifications/servlet/4.0 and version 5 would be correct for https://jakarta.ee/specifications/servlet/5.0/

              ropalka Richard Opalka
              smarlow1@redhat.com Scott Marlow
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: