AmshikaH commented on PR #816: URL: https://github.com/apache/tomcat/pull/816#issuecomment-2640684009
> But it does mean it looks like CXF has a bug that should be fixed. Thank you for pointing this out. I will make a report of this via CXF's Jira board. > And given that addURL() is a protected method, how are you calling it? We are using a custom class loader that extends Tomcat's WebappClassLoader, which makes our custom class loader a subclass of Tomcat's WebappClassLoaderBase. > * Tomcat 12 onwards return `null` if the name starts with `/` > * Tomcat 11 and earlier, skip the `notFoundClassResources` cache if the name starts with '/' > > Apps that use incorrect resource names may see a small performance degradation if they try loading the same resource multiple times using the wrong format for a resource name. The fix for that would be for the app to use the correct format. Thank you, a fix would be much appreciated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org