You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alexander Norz <ma...@norz.de> on 2025/04/04 17:18:06 UTC
Using classes from forked packages
Dear Tomcat users and supporters,
The Apache Tomcat software uses forks from packages as Apache Commons
FileUpload and others.
However, do you not recommend using classes from such Tomcat packages
within a web app that only will run on Tomcat? (e.g.
org.apache.tomcat.util.http.fileupload)
In addition, must such forked packages not be contain all classes of the
origin? Moreover, app developer might expect that Tomcat developers can
delete unused classes.
This might be stupid questions, but I came across an issue after
updating Tomcat because of used forked classes and like to request for
confirmation.
Best regards and have a nice weekend,
Alexander
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Using classes from forked packages
Posted by Mark Thomas <ma...@apache.org>.
On 04/04/2025 18:18, Alexander Norz wrote:
> Dear Tomcat users and supporters,
>
> The Apache Tomcat software uses forks from packages as Apache Commons
> FileUpload and others.
>
> However, do you not recommend using classes from such Tomcat packages
> within a web app that only will run on Tomcat? (e.g.
> org.apache.tomcat.util.http.fileupload)
Depending on any Tomcat internals is not recommended. See the "API
Stability" section of the RELEASE-NOTES.
> In addition, must such forked packages not be contain all classes of the
> origin?
Tomcat internals will use as little or as much as the Tomcat developers
deem necessary from any forked package.
> Moreover, app developer might expect that Tomcat developers can
> delete unused classes.
Yes.
> This might be stupid questions, but I came across an issue after
> updating Tomcat because of used forked classes and like to request for
> confirmation.
They are good questions but I will note the answers are all in the "API
Stability" section of the release notes.
Mark
>
> Best regards and have a nice weekend,
>
> Alexander
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org