This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 324857f853 Fix ordering issue creating the classpath
324857f853 is described below
commit 324857f853203d58013d434f449061801de6354a
Author: remm <[email protected]>
AuthorDate: Thu Nov 13 17:08:15 2025 +0100
Fix ordering issue creating the classpath
BZ69837 again.
---
java/org/apache/catalina/loader/WebappLoader.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/java/org/apache/catalina/loader/WebappLoader.java
b/java/org/apache/catalina/loader/WebappLoader.java
index 95826a216d..680df31133 100644
--- a/java/org/apache/catalina/loader/WebappLoader.java
+++ b/java/org/apache/catalina/loader/WebappLoader.java
@@ -316,11 +316,11 @@ public class WebappLoader extends LifecycleMBeanBase
implements Loader {
MigrationUtil.addJakartaEETransformer(classLoader,
getJakartaConverter());
}
+ classLoader.start();
+
// Configure our repositories
setClassPath();
- classLoader.start();
-
String contextName = context.getName();
if (!contextName.startsWith("/")) {
contextName = "/" + contextName;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]