https://bz.apache.org/bugzilla/show_bug.cgi?id=57129

--- Comment #27 from Mark Thomas <ma...@apache.org> ---
Something to keep in mind is the possible impact of the Java module system in
future versions of the Servlet spec. My understanding is that Java modules do
not allow packages to exist in more than one JAR.

On the plus side, this should reduce the chances of an app having multiple JARs
with the same classes as libraries refactor to meet the requirements of the
Java module system. On the negative side, if Jakarta EE adopts the Java module
system (I'd argue against that but I suspect I'd be in the minority) then the
issue described here is only going to be the start of the problems apps are
going to see.

I continue to be of the view that this is an issue best fixed in applications.

An offer to provide a patch is appreciated. I don't have easy access to the
source code but somewhere in org.apache.catalina.webresources is probably the
place to start.

This might end up as an option in Tomcat, it might turn into better hooks in
Tomcat for a custom resources implementation (there are other use cases I am
aware of that would benefit from that) or it might be a patch that could be
dropped into Tomcat's lib dir.  Where it ends up will depend on what changes
are required. The patch would have to be very minimal and the behaviour
optional to be considered for inclusion in Tomcat.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to