kelthuzadx opened a new pull request #333: URL: https://github.com/apache/tomcat/pull/333
`jdk.internal.util.jar.JarIndex` was introduced by JDK1.3, it's an old but useful technique. If third-party JAR files contain INDEX.LIST file(generated via `jar -i` command), these JAR files can be identified as loading into JVM. Class loader such as BuiltinClassLoader,URLClassLoader and subclasses of URLClassLoader can speed up their resource searching with the help of INDEX.LIST since it maps resource names to corresponding JAR names. The latest version of Tomcat does not aware of `INDEX.LIST`, when there are so many JAR files in `WEB-INF/lib`, Tom cat have to search in all JAR files sequentially, which is obviously slow. This patch helps Tomcat to be aware of `INDEX.LIST`, speeds up the search of resources, especially when there are many JAR files in `WEB-INF/lib` ---------------------------------------------------------------- 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. 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