This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 10d434c157 Exclude unnecessary classes from deployer JAR
10d434c157 is described below

commit 10d434c15703292f42f5660ca466ca06dcc23066
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Aug 27 09:44:08 2025 +0100

    Exclude unnecessary classes from deployer JAR
---
 build.xml                  | 9 ++++++---
 webapps/docs/changelog.xml | 8 ++++++++
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/build.xml b/build.xml
index 3ba0970cc7..d51e933e3d 100644
--- a/build.xml
+++ b/build.xml
@@ -459,9 +459,9 @@
     <include name="org/apache/tomcat/util/security/**" />
     <include name="org/apache/tomcat/util/threads/**" />
     <include name="org/apache/tomcat/util/*" />
-       <!-- Strictly, none of these exclusions need to be listed here. They 
are -->
-       <!-- listed to make it easier to check that no package has been         
 -->
-       <!-- overlooked.                                                        
 -->
+    <!-- Strictly, none of these exclusions need to be listed here. They are 
-->
+    <!-- listed to make it easier to check that no package has been          
-->
+    <!-- overlooked.                                                         
-->
     <exclude name="org/apache/tomcat/util/bcel" />
     <exclude name="org/apache/tomcat/util/descriptor" />
     <exclude name="org/apache/tomcat/util/digester" />
@@ -2510,13 +2510,16 @@ Apache Tomcat ${version} native binaries for Win64 
AMD64/EMT64 platform.
         <exclude name="org/apache/tomcat/util/descriptor" />
         <exclude name="org/apache/tomcat/util/file" />
         <exclude name="org/apache/tomcat/util/http" />
+        <exclude name="org/apache/tomcat/util/json" />
         <exclude name="org/apache/tomcat/util/log" />
         <exclude name="org/apache/tomcat/util/modeler" />
         <exclude name="org/apache/tomcat/util/net" />
+        <exclude name="org/apache/tomcat/util/openssl" />
         <exclude name="org/apache/tomcat/util/res" />
         <exclude name="org/apache/tomcat/util/scan" />
         <exclude name="org/apache/tomcat/util/security" />
         <exclude name="org/apache/tomcat/util/threads" />
+        <exclude name="org/apache/tomcat/util/xreflection" />
         <exclude name="**/package.html" />
         <exclude name="**/LocalStrings_*" />
       </fileset>
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 7c1c07d03a..5b509184fb 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -105,6 +105,14 @@
   issues do not "pop up" wrt. others).
 -->
 <section name="Tomcat 10.1.45 (schultz)" rtext="in development">
+  <subsection name="Catalina">
+    <changelog>
+      <scode>
+        Remove a number of unnecessary packages from the catalina-deployer.jar.
+        (markt)
+      </scode>
+    </changelog>
+  </subsection>
   <subsection name = "Other">
     <changelog>
       <scode>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to