Paul King created GROOVY-11922:
----------------------------------

             Summary: Jakarta EE 10 compatibility for groovy-servlet
                 Key: GROOVY-11922
                 URL: https://issues.apache.org/jira/browse/GROOVY-11922
             Project: Groovy
          Issue Type: Improvement
    Affects Versions: 5.0.0-alpha-2
            Reporter: Oleg K.
            Assignee: Paul King
             Fix For: 5.0.0-alpha-12


Greetings, Groovy Team!

The groovy project depends on javaxServletApi 4.0.1 specifically needed for 
groovy-servlet subproject.
The implementation matches Servlet 4 spec, part of Jakarta EE 8.
When moving to Jakarta EE 9 webserver, the spec updates to Servlet 5.
The new spec brings a backward incompatible change in namespaces, from javax.* 
to jakarta.*.
More info here: [https://jakarta.ee/specifications/servlet/]

This needs to be reflected in a code of groovy-servlet subproject.
For example:
{code:java}
import javax.servlet.http.HttpServlet;
{code}
becomes
{code:java}
import jakarta.servlet.http.HttpServlet;
{code}
Please advise, is there a plan to start building groovy-servlet aligned with 
the new spec in the upcoming 5.0.0 release?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to