Re: Announcement: The next Jython release changes javax.servlet to jakarta.servlet.
Chris Clark via Jython-users <[email protected]> Thu, 5 Mar 2026 09:08:19 -0800
| Newsgroups | gmane.comp.lang.jython.user,gmane.comp.lang.jython.devel |
|---|---|
| Message-ID | <CAMdPWmBJZDicuU2p1iW89dcsky_ymk_ssQM-+9XN4ufoq5--AA@mail.gmail.com> |
--===============7887388589901599033== Content-Type: multipart/alternative; boundary="000000000000639343064c49fcc1" --000000000000639343064c49fcc1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm guessing ModJy will be (has been) updated to support this? My usage is quite simple: deploying a WAR file under Tomcat so I think this will work for me (with a maybe few XML changes) :-) Clarification on the referenced issue/PR, these ones? * https://github.com/jython/jython/issues/382 - Java EE Servlet Namespace Has Been Changed From javax.servlet to jakarta.servlet * https://github.com/jython/jython/pull/414 - Perform the jakarta EE migration Thanks for the heads up :-) Chris On Thu, Mar 5, 2026 at 8:06=E2=80=AFAM Stefan Richthofer < [email protected]> wrote: > Dear Jython users and developers, > > with this email I announce that the next Jython release 2.7.5 will > change javax.servlet namespace to jakarta.servlet. If you rely on this > for a legacy setup, the new release won't work for you as a drop-in > replacement out of the box. Please be sure to check your setup > carefully before upgrading. (As of this writing, no release date is > settled. This is just an early warning to minimize surprises.) > > For this change, we are relocating the classes > > - org.python.util.PyServlet > - org.python.util.PyFilter > - org.python.util.PyServletInitializer > > to a new package org.python.servlet. > AFAIK, frameworks usually locate servlet classes automatically, so > this should not cause much trouble. Still, please check that your > setup accommodates this change if necessary. The relocation allows you > to add the old classes (with javax-based imports) on top of jython.jar > to the classpath without name conflict. In some cases, this may be > sufficient to retain workability of a legacy setup. For details, see > issue #382 and pull-request #414. > > That said, please check the list of open issues to see if there is > something you consider a release blocker or something you might want > to provide a pull-request for. E.g. if someone knows how to fix #349, > please join that discussion. > > > Best > > Stefan > > > _______________________________________________ > Jython-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jython-users > <https://url.uk.m.mimecastprotect.com/s/A4GTCxGQrumXNp6cvh2Sykcx_?domain= =3Dlists.sourceforge.net> > --000000000000639343064c49fcc1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I'm guessing ModJy will be (has been) updated to suppo= rt this?<div><br></div><div>My usage is quite simple: deploying a WAR file = under Tomcat so I think this will work for me (with a maybe few XML changes= ) :-)</div><div><br></div><div>Clarification on the referenced issue/PR, th= ese ones?</div><div><br></div><div>*=C2=A0<a href=3D"https://github.com/jyt= hon/jython/issues/382">https://github.com/jython/jython/issues/382</a> -=C2= =A0Java EE Servlet Namespace Has Been Changed From javax.servlet to jakarta= .servlet</div><div>*=C2=A0<a href=3D"https://github.com/jython/jython/pull/= 414">https://github.com/jython/jython/pull/414</a> -=C2=A0Perform the jakar= ta EE migration<br><div><br></div><div>Thanks for the heads up :-)</div><di= v><br></div><div>Chris</div></div></div><br><div class=3D"gmail_quote gmail= _quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Mar 5, 2026= at 8:06=E2=80=AFAM Stefan Richthofer <<a href=3D"mailto:stefan.richthof= [email protected]">[email protected]</a>> wrote:<br></div><blockquo= te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px = solid rgb(204,204,204);padding-left:1ex"><div>Dear Jython users and develop= ers,<br> <br> with this email I announce that the next Jython release 2.7.5 will<br> change javax.servlet namespace to jakarta.servlet. If you rely on this<br> for a legacy setup, the new release won't work for you as a drop-in<br> replacement out of the box. Please be sure to check your setup<br> carefully before upgrading. (As of this writing, no release date is<br> settled. This is just an early warning to minimize surprises.)<br> <br> For this change, we are relocating the classes<br> <br> - org.python.util.PyServlet<br> - org.python.util.PyFilter<br> - org.python.util.PyServletInitializer<br> <br> to a new package org.python.servlet.<br> AFAIK, frameworks usually locate servlet classes automatically, so<br> this should not cause much trouble. Still, please check that your<br> setup accommodates this change if necessary. The relocation allows you<br> to add the old classes (with javax-based imports) on top of jython.jar<br> to the classpath without name conflict. In some cases, this may be<br> sufficient to retain workability of a legacy setup. For details, see<br> issue #382 and pull-request #414.<br> <br> That said, please check the list of open issues to see if there is<br> something you consider a release blocker or something you might want<br> to provide a pull-request for. E.g. if someone knows how to fix #349,<br> please join that discussion.<br> <br> <br> Best<br> <br> Stefan<br> <br> <br> _______________________________________________<br> Jython-users mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">Jyt= [email protected]</a><br> <a href=3D"https://url.uk.m.mimecastprotect.com/s/A4GTCxGQrumXNp6cvh2Sykcx_= ?domain=3Dlists.sourceforge.net" target=3D"_blank">https://lists.sourceforg= e.net/lists/listinfo/jython-users</a><br> </div> </blockquote></div> --000000000000639343064c49fcc1-- --===============7887388589901599033== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7887388589901599033== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Jython-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jython-users --===============7887388589901599033==--