January release plans

2023-01-06 Thread Mark Thomas

Hi all,

I've almost finished the prep for the January releases. I expect to 
finish that later today. My current plan is to tag and build releases 
for 11.0.x and 10.1.x at the start of next week.


Mark

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



Re: January release plans

2023-01-06 Thread Rémy Maucherat
On Fri, Jan 6, 2023 at 10:32 AM Mark Thomas  wrote:
>
> Hi all,
>
> I've almost finished the prep for the January releases. I expect to
> finish that later today. My current plan is to tag and build releases
> for 11.0.x and 10.1.x at the start of next week.

+1

Rémy

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



Tomcat and JAX-RPC support

2023-01-06 Thread Mark Thomas
Tomcat (all versions) currently ships a JNDI factory for JAX-RPC 1.1. 
This factory was added in Tomcat 6 (Java EE 5).


Java EE 5 (Tomcat 6) encouraged new applications to use JAX-WS rather 
than JAX-RPC.


Java EE 6 (Tomcat 7) marked JAX-RPC as "Proposed Optional".

Java EE 7 (Tomcat 8) marked JAX-RPC as "Optional".

Jakarta EE 9 (Tomcat 10.0) removed JAX-RPC from the Jakarta platform.

Tomcat 10.1 and Tomcat 11 still include the JNDI factory for JAX-RPC.

I would like to propose deprecating JAX-RPC support in 10.1 and earlier 
and removing it in Tomcat 11. Ideally, I'd like to remove JAX-RPC 
support in Tomcat 10.1 but it is too late to do that now 10.1.x is stable.


Given there have been no user questions about this that I can remember, 
I do not propose replacing this with the Jakarta XML Web Services 
equivalent.


Thoughts?

Mark

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



[tomcat] branch main updated: Update to Eclipse JDT 4.26

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt 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 02b825efe3 Update to Eclipse JDT 4.26
02b825efe3 is described below

commit 02b825efe33f4e130da1337d1dc9bedc045af70d
Author: Mark Thomas 
AuthorDate: Fri Jan 6 11:34:59 2023 +

Update to Eclipse JDT 4.26
---
 build.properties.default| 12 ++--
 res/ide-support/eclipse/eclipse.classpath   |  2 +-
 res/ide-support/idea/tomcat.iml |  2 +-
 res/ide-support/netbeans/nb-tomcat-build.properties |  2 +-
 res/ide-support/netbeans/project.xml|  2 +-
 res/maven/tomcat-embed-jasper.pom   |  2 +-
 res/maven/tomcat-jasper.pom |  2 +-
 webapps/docs/changelog.xml  |  3 +++
 8 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index d50768bfce..be2c5e4851 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -136,15 +136,15 @@ 
wsdl4j-lib.loc=${base-maven.loc}/wsdl4j/wsdl4j/${wsdl4j-lib.version}/wsdl4j-${ws
 # - Eclipse JDT, version 4.7 or later -#
 # See 
https://cwiki.apache.org/confluence/display/TOMCAT/Managing+Tomcat%27s+Dependency+on+the+Eclipse+JDT+Core+Batch+Compiler
 #
-# Checksum is from "SHA512 Checksums for 4.25" link at
-# https://download.eclipse.org/eclipse/downloads/drops4/R-4.25-202208311800/
-# 
https://download.eclipse.org/eclipse/downloads/drops4/R-4.25-202208311800/checksum/eclipse-4.25-SUMSSHA512
+# Checksum is from "SHA512 Checksums for 4.26" link at
+# https://download.eclipse.org/eclipse/downloads/drops4/R-4.26-202211231800/
+# 
https://download.eclipse.org/eclipse/downloads/drops4/R-4.26-202211231800/checksum/eclipse-4.26-SUMSSHA512
 #
-jdt.version=4.25
-jdt.release=R-4.25-202208311800
+jdt.version=4.26
+jdt.release=R-4.26-202211231800
 jdt.checksum.enabled=true
 jdt.checksum.algorithm=SHA-512
-jdt.checksum.value=2c469433e09957315b93b030f5668b2539dbf7a198f8f43c5c9cb2f350ff22086587e897ecd1af6461cd1f8abe9a58eeaacb27bc9eec38a23caedf5e0e00da56
+jdt.checksum.value=62b19c6701547cb30922fd336a0d40fb0610279a732a93673910954028b79d69e0e3175494d20d3dae9bf4b844677c6bc5d29f337f45b6988bcfaf93b3787602
 jdt.home=${base.path}/ecj-${jdt.version}
 jdt.jar=${jdt.home}/ecj-${jdt.version}.jar
 # The download will be moved to the archive area eventually. We are taking 
care of that in advance.
diff --git a/res/ide-support/eclipse/eclipse.classpath 
b/res/ide-support/eclipse/eclipse.classpath
index c3c436cfea..3cf7620958 100644
--- a/res/ide-support/eclipse/eclipse.classpath
+++ b/res/ide-support/eclipse/eclipse.classpath
@@ -24,7 +24,7 @@
 
 
 
-
+
 
 
 
diff --git a/res/ide-support/idea/tomcat.iml b/res/ide-support/idea/tomcat.iml
index 9c9935e422..fc552adafc 100644
--- a/res/ide-support/idea/tomcat.iml
+++ b/res/ide-support/idea/tomcat.iml
@@ -68,7 +68,7 @@
 
   
 
-  
+  
 
 
 
diff --git a/res/ide-support/netbeans/nb-tomcat-build.properties 
b/res/ide-support/netbeans/nb-tomcat-build.properties
index b1c29e9f80..83e26425fd 100644
--- a/res/ide-support/netbeans/nb-tomcat-build.properties
+++ b/res/ide-support/netbeans/nb-tomcat-build.properties
@@ -37,7 +37,7 @@ nb-test.io-method=org.apache.coyote.http11.Http11NioProtocol
 # it is not possible to retrieve the classpaths from the build to
 # use in the NetBeans targets, so they must be explicitly declared
 
-nb-test.classpath=${test.classes}:${tomcat.build}/webapps/examples/WEB-INF/classes:${base.path}/junit-4.13.2/junit-4.13.2.jar:${base.path}/easymock-4.3/easymock-4.3.jar:${base.path}/objenesis-3.2/objenesis-3.2.jar:${base.path}/cglib-3.3.0/cglib-nodep-3.3.0.jar:${base.path}/hamcrest-2.2/hamcrest-2.2.jar:${base.path}/ecj-4.25/ecj-4.25.jar:${tomcat.classes}
+nb-test.classpath=${test.classes}:${tomcat.build}/webapps/examples/WEB-INF/classes:${base.path}/junit-4.13.2/junit-4.13.2.jar:${base.path}/easymock-4.3/easymock-4.3.jar:${base.path}/objenesis-3.2/objenesis-3.2.jar:${base.path}/cglib-3.3.0/cglib-nodep-3.3.0.jar:${base.path}/hamcrest-2.2/hamcrest-2.2.jar:${base.path}/ecj-4.26/ecj-4.26.jar:${tomcat.classes}
 
 # Extra properties used by the Tomcat project additional NetBeans targets.
 
diff --git a/res/ide-support/netbeans/project.xml 
b/res/ide-support/netbeans/project.xml
index d9a3cfc096..5ea2a822d0 100644
--- a/res/ide-support/netbeans/project.xml
+++ b/res/ide-support/netbeans/project.xml
@@ -178,7 +178,7 @@
 -->
 
 java
-${base.path}/jaxrpc-1.1-rc4/geronimo-spec-jaxrpc-1.1-rc4.jar:${base.path}/wsdl4j-1.6.3/wsdl4j-1.6.3.jar:${base.path}/ecj-4.25/ecj-4.25.jar:${base.path}/bnd-6.3.1/biz.aQute.bnd-6.3.1.jar:${base.path}/migration-1.0.6/jakartaee-

[tomcat] branch 10.1.x updated: Update to Eclipse JDT 4.26

2023-01-06 Thread markt
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 99ee55068f Update to Eclipse JDT 4.26
99ee55068f is described below

commit 99ee55068f17838cb3c6ed4b6be2e9bdc31430da
Author: Mark Thomas 
AuthorDate: Fri Jan 6 11:34:59 2023 +

Update to Eclipse JDT 4.26
---
 build.properties.default| 12 ++--
 res/ide-support/eclipse/eclipse.classpath   |  2 +-
 res/ide-support/idea/tomcat.iml |  2 +-
 res/ide-support/netbeans/nb-tomcat-build.properties |  2 +-
 res/ide-support/netbeans/project.xml|  2 +-
 res/maven/tomcat-embed-jasper.pom   |  2 +-
 res/maven/tomcat-jasper.pom |  2 +-
 webapps/docs/changelog.xml  |  3 +++
 8 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index fbfa7966f6..a13b99c88f 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -136,15 +136,15 @@ 
wsdl4j-lib.loc=${base-maven.loc}/wsdl4j/wsdl4j/${wsdl4j-lib.version}/wsdl4j-${ws
 # - Eclipse JDT, version 4.7 or later -#
 # See 
https://cwiki.apache.org/confluence/display/TOMCAT/Managing+Tomcat%27s+Dependency+on+the+Eclipse+JDT+Core+Batch+Compiler
 #
-# Checksum is from "SHA512 Checksums for 4.25" link at
-# https://download.eclipse.org/eclipse/downloads/drops4/R-4.25-202208311800/
-# 
https://download.eclipse.org/eclipse/downloads/drops4/R-4.25-202208311800/checksum/eclipse-4.25-SUMSSHA512
+# Checksum is from "SHA512 Checksums for 4.26" link at
+# https://download.eclipse.org/eclipse/downloads/drops4/R-4.26-202211231800/
+# 
https://download.eclipse.org/eclipse/downloads/drops4/R-4.26-202211231800/checksum/eclipse-4.26-SUMSSHA512
 #
-jdt.version=4.25
-jdt.release=R-4.25-202208311800
+jdt.version=4.26
+jdt.release=R-4.26-202211231800
 jdt.checksum.enabled=true
 jdt.checksum.algorithm=SHA-512
-jdt.checksum.value=2c469433e09957315b93b030f5668b2539dbf7a198f8f43c5c9cb2f350ff22086587e897ecd1af6461cd1f8abe9a58eeaacb27bc9eec38a23caedf5e0e00da56
+jdt.checksum.value=62b19c6701547cb30922fd336a0d40fb0610279a732a93673910954028b79d69e0e3175494d20d3dae9bf4b844677c6bc5d29f337f45b6988bcfaf93b3787602
 jdt.home=${base.path}/ecj-${jdt.version}
 jdt.jar=${jdt.home}/ecj-${jdt.version}.jar
 # The download will be moved to the archive area eventually. We are taking 
care of that in advance.
diff --git a/res/ide-support/eclipse/eclipse.classpath 
b/res/ide-support/eclipse/eclipse.classpath
index c3c436cfea..3cf7620958 100644
--- a/res/ide-support/eclipse/eclipse.classpath
+++ b/res/ide-support/eclipse/eclipse.classpath
@@ -24,7 +24,7 @@
 
 
 
-
+
 
 
 
diff --git a/res/ide-support/idea/tomcat.iml b/res/ide-support/idea/tomcat.iml
index 9c9935e422..fc552adafc 100644
--- a/res/ide-support/idea/tomcat.iml
+++ b/res/ide-support/idea/tomcat.iml
@@ -68,7 +68,7 @@
 
   
 
-  
+  
 
 
 
diff --git a/res/ide-support/netbeans/nb-tomcat-build.properties 
b/res/ide-support/netbeans/nb-tomcat-build.properties
index b1c29e9f80..83e26425fd 100644
--- a/res/ide-support/netbeans/nb-tomcat-build.properties
+++ b/res/ide-support/netbeans/nb-tomcat-build.properties
@@ -37,7 +37,7 @@ nb-test.io-method=org.apache.coyote.http11.Http11NioProtocol
 # it is not possible to retrieve the classpaths from the build to
 # use in the NetBeans targets, so they must be explicitly declared
 
-nb-test.classpath=${test.classes}:${tomcat.build}/webapps/examples/WEB-INF/classes:${base.path}/junit-4.13.2/junit-4.13.2.jar:${base.path}/easymock-4.3/easymock-4.3.jar:${base.path}/objenesis-3.2/objenesis-3.2.jar:${base.path}/cglib-3.3.0/cglib-nodep-3.3.0.jar:${base.path}/hamcrest-2.2/hamcrest-2.2.jar:${base.path}/ecj-4.25/ecj-4.25.jar:${tomcat.classes}
+nb-test.classpath=${test.classes}:${tomcat.build}/webapps/examples/WEB-INF/classes:${base.path}/junit-4.13.2/junit-4.13.2.jar:${base.path}/easymock-4.3/easymock-4.3.jar:${base.path}/objenesis-3.2/objenesis-3.2.jar:${base.path}/cglib-3.3.0/cglib-nodep-3.3.0.jar:${base.path}/hamcrest-2.2/hamcrest-2.2.jar:${base.path}/ecj-4.26/ecj-4.26.jar:${tomcat.classes}
 
 # Extra properties used by the Tomcat project additional NetBeans targets.
 
diff --git a/res/ide-support/netbeans/project.xml 
b/res/ide-support/netbeans/project.xml
index d9a3cfc096..5ea2a822d0 100644
--- a/res/ide-support/netbeans/project.xml
+++ b/res/ide-support/netbeans/project.xml
@@ -178,7 +178,7 @@
 -->
 
 java
-${base.path}/jaxrpc-1.1-rc4/geronimo-spec-jaxrpc-1.1-rc4.jar:${base.path}/wsdl4j-1.6.3/wsdl4j-1.6.3.jar:${base.path}/ecj-4.25/ecj-4.25.jar:${base.path}/bnd-6.3.1/biz.aQute.bnd-6.3.1.jar:${base.path}/migration-1.0.6/jakart

[tomcat] branch 9.0.x updated: Align embedded dependency with default Tomcat

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new a64f09b751 Align embedded dependency with default Tomcat
a64f09b751 is described below

commit a64f09b7513d63c9b66c7061ac89453d9f724078
Author: Mark Thomas 
AuthorDate: Fri Jan 6 11:37:24 2023 +

Align embedded dependency with default Tomcat
---
 res/maven/tomcat-embed-jasper.pom | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/res/maven/tomcat-embed-jasper.pom 
b/res/maven/tomcat-embed-jasper.pom
index 5c0ab05baa..4515584923 100644
--- a/res/maven/tomcat-embed-jasper.pom
+++ b/res/maven/tomcat-embed-jasper.pom
@@ -48,7 +48,7 @@
 
   org.eclipse.jdt
   ecj
-  3.18.0
+  3.26.0
 
   
 


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



[tomcat] branch main updated: Add Java 21 source/target support for JSPs (if JDT version supports it)

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt 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 bb81a2cf7a Add Java 21 source/target support for JSPs (if JDT version 
supports it)
bb81a2cf7a is described below

commit bb81a2cf7abf2384e73bdac0313731b8963b9b66
Author: Mark Thomas 
AuthorDate: Fri Jan 6 11:46:53 2023 +

Add Java 21 source/target support for JSPs (if JDT version supports it)
---
 java/org/apache/jasper/compiler/JDTCompiler.java | 21 +
 webapps/docs/changelog.xml   |  7 +++
 2 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/java/org/apache/jasper/compiler/JDTCompiler.java 
b/java/org/apache/jasper/compiler/JDTCompiler.java
index 1b71dc5169..65868661e0 100644
--- a/java/org/apache/jasper/compiler/JDTCompiler.java
+++ b/java/org/apache/jasper/compiler/JDTCompiler.java
@@ -316,15 +316,17 @@ public class JDTCompiler extends 
org.apache.jasper.compiler.Compiler {
 } else if(opt.equals("18")) {
 settings.put(CompilerOptions.OPTION_Source, 
CompilerOptions.VERSION_18);
 } else if (opt.equals("19")) {
+settings.put(CompilerOptions.OPTION_Source, 
CompilerOptions.VERSION_19);
+} else if (opt.equals("20")) {
 // Constant not available in latest ECJ version shipped with
 // Tomcat. May be supported in a snapshot build.
 // This is checked against the actual version below.
-settings.put(CompilerOptions.OPTION_Source, "19");
-} else if (opt.equals("20")) {
+settings.put(CompilerOptions.OPTION_Source, "20");
+} else if (opt.equals("21")) {
 // Constant not available in latest ECJ version shipped with
 // Tomcat. May be supported in a snapshot build.
 // This is checked against the actual version below.
-settings.put(CompilerOptions.OPTION_Source, "20");
+settings.put(CompilerOptions.OPTION_Source, "21");
 } else {
 log.warn(Localizer.getMessage("jsp.warning.unknown.sourceVM", 
opt));
 settings.put(CompilerOptions.OPTION_Source, 
CompilerOptions.VERSION_11);
@@ -390,17 +392,20 @@ public class JDTCompiler extends 
org.apache.jasper.compiler.Compiler {
 settings.put(CompilerOptions.OPTION_TargetPlatform, 
CompilerOptions.VERSION_18);
 settings.put(CompilerOptions.OPTION_Compliance, 
CompilerOptions.VERSION_18);
 } else if (opt.equals("19")) {
-// Constant not available in latest ECJ version shipped with
-// Tomcat. May be supported in a snapshot build.
-// This is checked against the actual version below.
-settings.put(CompilerOptions.OPTION_TargetPlatform, "19");
-settings.put(CompilerOptions.OPTION_Compliance, "19");
+settings.put(CompilerOptions.OPTION_TargetPlatform, 
CompilerOptions.VERSION_19);
+settings.put(CompilerOptions.OPTION_Compliance, 
CompilerOptions.VERSION_19);
 } else if (opt.equals("20")) {
 // Constant not available in latest ECJ version shipped with
 // Tomcat. May be supported in a snapshot build.
 // This is checked against the actual version below.
 settings.put(CompilerOptions.OPTION_TargetPlatform, "20");
 settings.put(CompilerOptions.OPTION_Compliance, "20");
+} else if (opt.equals("21")) {
+// Constant not available in latest ECJ version shipped with
+// Tomcat. May be supported in a snapshot build.
+// This is checked against the actual version below.
+settings.put(CompilerOptions.OPTION_TargetPlatform, "21");
+settings.put(CompilerOptions.OPTION_Compliance, "21");
 } else {
 log.warn(Localizer.getMessage("jsp.warning.unknown.targetVM", 
opt));
 settings.put(CompilerOptions.OPTION_TargetPlatform, 
CompilerOptions.VERSION_11);
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index e032a9a203..268b2cb7d7 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -167,6 +167,13 @@
 is already called from within a privileged block and skipping the
 unnecessary privileged block improves performance. (markt)
   
+  
+Add support for specifying Java 21 (with the value 21) as
+the compiler source and/or compiler target for JSP compilation. If used
+with an Eclipse JDT compiler version that does not support these 
values,
+a warning will be logged and the default will used.
+(markt)
+  
 
   
   


---

[tomcat] branch 10.1.x updated: Add Java 21 source/target support for JSPs (if JDT version supports it)

2023-01-06 Thread markt
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 7921b2e5f9 Add Java 21 source/target support for JSPs (if JDT version 
supports it)
7921b2e5f9 is described below

commit 7921b2e5f9041116c65d8c87b47f43fc3f186b58
Author: Mark Thomas 
AuthorDate: Fri Jan 6 11:46:53 2023 +

Add Java 21 source/target support for JSPs (if JDT version supports it)
---
 java/org/apache/jasper/compiler/JDTCompiler.java | 21 +
 webapps/docs/changelog.xml   |  7 +++
 2 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/java/org/apache/jasper/compiler/JDTCompiler.java 
b/java/org/apache/jasper/compiler/JDTCompiler.java
index 1b71dc5169..65868661e0 100644
--- a/java/org/apache/jasper/compiler/JDTCompiler.java
+++ b/java/org/apache/jasper/compiler/JDTCompiler.java
@@ -316,15 +316,17 @@ public class JDTCompiler extends 
org.apache.jasper.compiler.Compiler {
 } else if(opt.equals("18")) {
 settings.put(CompilerOptions.OPTION_Source, 
CompilerOptions.VERSION_18);
 } else if (opt.equals("19")) {
+settings.put(CompilerOptions.OPTION_Source, 
CompilerOptions.VERSION_19);
+} else if (opt.equals("20")) {
 // Constant not available in latest ECJ version shipped with
 // Tomcat. May be supported in a snapshot build.
 // This is checked against the actual version below.
-settings.put(CompilerOptions.OPTION_Source, "19");
-} else if (opt.equals("20")) {
+settings.put(CompilerOptions.OPTION_Source, "20");
+} else if (opt.equals("21")) {
 // Constant not available in latest ECJ version shipped with
 // Tomcat. May be supported in a snapshot build.
 // This is checked against the actual version below.
-settings.put(CompilerOptions.OPTION_Source, "20");
+settings.put(CompilerOptions.OPTION_Source, "21");
 } else {
 log.warn(Localizer.getMessage("jsp.warning.unknown.sourceVM", 
opt));
 settings.put(CompilerOptions.OPTION_Source, 
CompilerOptions.VERSION_11);
@@ -390,17 +392,20 @@ public class JDTCompiler extends 
org.apache.jasper.compiler.Compiler {
 settings.put(CompilerOptions.OPTION_TargetPlatform, 
CompilerOptions.VERSION_18);
 settings.put(CompilerOptions.OPTION_Compliance, 
CompilerOptions.VERSION_18);
 } else if (opt.equals("19")) {
-// Constant not available in latest ECJ version shipped with
-// Tomcat. May be supported in a snapshot build.
-// This is checked against the actual version below.
-settings.put(CompilerOptions.OPTION_TargetPlatform, "19");
-settings.put(CompilerOptions.OPTION_Compliance, "19");
+settings.put(CompilerOptions.OPTION_TargetPlatform, 
CompilerOptions.VERSION_19);
+settings.put(CompilerOptions.OPTION_Compliance, 
CompilerOptions.VERSION_19);
 } else if (opt.equals("20")) {
 // Constant not available in latest ECJ version shipped with
 // Tomcat. May be supported in a snapshot build.
 // This is checked against the actual version below.
 settings.put(CompilerOptions.OPTION_TargetPlatform, "20");
 settings.put(CompilerOptions.OPTION_Compliance, "20");
+} else if (opt.equals("21")) {
+// Constant not available in latest ECJ version shipped with
+// Tomcat. May be supported in a snapshot build.
+// This is checked against the actual version below.
+settings.put(CompilerOptions.OPTION_TargetPlatform, "21");
+settings.put(CompilerOptions.OPTION_Compliance, "21");
 } else {
 log.warn(Localizer.getMessage("jsp.warning.unknown.targetVM", 
opt));
 settings.put(CompilerOptions.OPTION_TargetPlatform, 
CompilerOptions.VERSION_11);
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index ce2e3fe542..b34f0a8001 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -148,6 +148,13 @@
 is already called from within a privileged block and skipping the
 unnecessary privileged block improves performance. (markt)
   
+  
+Add support for specifying Java 21 (with the value 21) as
+the compiler source and/or compiler target for JSP compilation. If used
+with an Eclipse JDT compiler version that does not support these 
values,
+a warning will be logged and the default will used.
+(markt)
+  
 
   
   


---

[tomcat] branch 9.0.x updated: Add Java 21 source/target support for JSPs (if JDT version supports it)

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 7ea07ebf49 Add Java 21 source/target support for JSPs (if JDT version 
supports it)
7ea07ebf49 is described below

commit 7ea07ebf49dcf8003c5990c3a1bb8920556a02f9
Author: Mark Thomas 
AuthorDate: Fri Jan 6 11:46:53 2023 +

Add Java 21 source/target support for JSPs (if JDT version supports it)
---
 java/org/apache/jasper/compiler/JDTCompiler.java | 11 +++
 webapps/docs/changelog.xml   |  7 +++
 2 files changed, 18 insertions(+)

diff --git a/java/org/apache/jasper/compiler/JDTCompiler.java 
b/java/org/apache/jasper/compiler/JDTCompiler.java
index 6c6831f5c0..bfff4efe1f 100644
--- a/java/org/apache/jasper/compiler/JDTCompiler.java
+++ b/java/org/apache/jasper/compiler/JDTCompiler.java
@@ -331,6 +331,11 @@ public class JDTCompiler extends 
org.apache.jasper.compiler.Compiler {
 // Java 8.
 // This is checked against the actual version below.
 settings.put(CompilerOptions.OPTION_Source, "20");
+} else if (opt.equals("21")) {
+// Constant not available in latest ECJ version that runs on
+// Java 8.
+// This is checked against the actual version below.
+settings.put(CompilerOptions.OPTION_Source, "21");
 } else {
 log.warn(Localizer.getMessage("jsp.warning.unknown.sourceVM", 
opt));
 settings.put(CompilerOptions.OPTION_Source, 
CompilerOptions.VERSION_1_8);
@@ -413,6 +418,12 @@ public class JDTCompiler extends 
org.apache.jasper.compiler.Compiler {
 // This is checked against the actual version below.
 settings.put(CompilerOptions.OPTION_TargetPlatform, "20");
 settings.put(CompilerOptions.OPTION_Compliance, "20");
+} else if (opt.equals("21")) {
+// Constant not available in latest ECJ version that runs on
+// Java 8.
+// This is checked against the actual version below.
+settings.put(CompilerOptions.OPTION_TargetPlatform, "21");
+settings.put(CompilerOptions.OPTION_Compliance, "21");
 } else {
 log.warn(Localizer.getMessage("jsp.warning.unknown.targetVM", 
opt));
 settings.put(CompilerOptions.OPTION_TargetPlatform, 
CompilerOptions.VERSION_1_8);
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 2fa8432b47..46f3e71b59 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -153,6 +153,13 @@
 is already called from within a privileged block and skipping the
 unnecessary privileged block improves performance. (markt)
   
+  
+Add support for specifying Java 21 (with the value 21) as
+the compiler source and/or compiler target for JSP compilation. If used
+with an Eclipse JDT compiler version that does not support these 
values,
+a warning will be logged and the default will used.
+(markt)
+  
 
   
   


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



Re: Tomcat and JAX-RPC support

2023-01-06 Thread Jean-Louis MONTEIRO
It makes sense.

+1

Le ven. 6 janv. 2023 à 11:50, Mark Thomas  a écrit :

> Tomcat (all versions) currently ships a JNDI factory for JAX-RPC 1.1.
> This factory was added in Tomcat 6 (Java EE 5).
>
> Java EE 5 (Tomcat 6) encouraged new applications to use JAX-WS rather
> than JAX-RPC.
>
> Java EE 6 (Tomcat 7) marked JAX-RPC as "Proposed Optional".
>
> Java EE 7 (Tomcat 8) marked JAX-RPC as "Optional".
>
> Jakarta EE 9 (Tomcat 10.0) removed JAX-RPC from the Jakarta platform.
>
> Tomcat 10.1 and Tomcat 11 still include the JNDI factory for JAX-RPC.
>
> I would like to propose deprecating JAX-RPC support in 10.1 and earlier
> and removing it in Tomcat 11. Ideally, I'd like to remove JAX-RPC
> support in Tomcat 10.1 but it is too late to do that now 10.1.x is stable.
>
> Given there have been no user questions about this that I can remember,
> I do not propose replacing this with the Jakarta XML Web Services
> equivalent.
>
> Thoughts?
>
> Mark
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>

-- 
Jean-Louis


[tomcat] branch 8.5.x updated: Add Java 21 source/target support for JSPs (if JDT version supports it)

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/8.5.x by this push:
 new da831f673d Add Java 21 source/target support for JSPs (if JDT version 
supports it)
da831f673d is described below

commit da831f673dc24b5c53f261b0ee8cea0b5662a772
Author: Mark Thomas 
AuthorDate: Fri Jan 6 11:46:53 2023 +

Add Java 21 source/target support for JSPs (if JDT version supports it)
---
 java/org/apache/jasper/compiler/JDTCompiler.java | 11 +++
 webapps/docs/changelog.xml   |  7 +++
 2 files changed, 18 insertions(+)

diff --git a/java/org/apache/jasper/compiler/JDTCompiler.java 
b/java/org/apache/jasper/compiler/JDTCompiler.java
index 4c26bd06c5..671d324fe9 100644
--- a/java/org/apache/jasper/compiler/JDTCompiler.java
+++ b/java/org/apache/jasper/compiler/JDTCompiler.java
@@ -379,6 +379,11 @@ public class JDTCompiler extends 
org.apache.jasper.compiler.Compiler {
 // Java 7.
 // This is checked against the actual version below.
 settings.put(CompilerOptions.OPTION_Source, "20");
+} else if (opt.equals("21")) {
+// Constant not available in latest ECJ version that runs on
+// Java 7.
+// This is checked against the actual version below.
+settings.put(CompilerOptions.OPTION_Source, "21");
 } else {
 log.warn(Localizer.getMessage("jsp.warning.unknown.sourceVM", 
opt));
 settings.put(CompilerOptions.OPTION_Source, 
CompilerOptions.VERSION_1_7);
@@ -482,6 +487,12 @@ public class JDTCompiler extends 
org.apache.jasper.compiler.Compiler {
 // This is checked against the actual version below.
 settings.put(CompilerOptions.OPTION_TargetPlatform, "20");
 settings.put(CompilerOptions.OPTION_Compliance, "20");
+} else if (opt.equals("21")) {
+// Constant not available in latest ECJ version that runs on
+// Java 7.
+// This is checked against the actual version below.
+settings.put(CompilerOptions.OPTION_TargetPlatform, "21");
+settings.put(CompilerOptions.OPTION_Compliance, "21");
 } else {
 log.warn(Localizer.getMessage("jsp.warning.unknown.targetVM", 
opt));
 settings.put(CompilerOptions.OPTION_TargetPlatform, 
CompilerOptions.VERSION_1_7);
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index d940ab992e..c1d0918dbb 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -164,6 +164,13 @@
 is already called from within a privileged block and skipping the
 unnecessary privileged block improves performance. (markt)
   
+  
+Add support for specifying Java 21 (with the value 21) as
+the compiler source and/or compiler target for JSP compilation. If used
+with an Eclipse JDT compiler version that does not support these 
values,
+a warning will be logged and the default will used.
+(markt)
+  
 
   
   


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



Re: Tomcat and JAX-RPC support

2023-01-06 Thread Rémy Maucherat
On Fri, Jan 6, 2023 at 11:49 AM Mark Thomas  wrote:
>
> Tomcat (all versions) currently ships a JNDI factory for JAX-RPC 1.1.
> This factory was added in Tomcat 6 (Java EE 5).
>
> Java EE 5 (Tomcat 6) encouraged new applications to use JAX-WS rather
> than JAX-RPC.
>
> Java EE 6 (Tomcat 7) marked JAX-RPC as "Proposed Optional".
>
> Java EE 7 (Tomcat 8) marked JAX-RPC as "Optional".
>
> Jakarta EE 9 (Tomcat 10.0) removed JAX-RPC from the Jakarta platform.
>
> Tomcat 10.1 and Tomcat 11 still include the JNDI factory for JAX-RPC.
>
> I would like to propose deprecating JAX-RPC support in 10.1 and earlier
> and removing it in Tomcat 11. Ideally, I'd like to remove JAX-RPC
> support in Tomcat 10.1 but it is too late to do that now 10.1.x is stable.
>
> Given there have been no user questions about this that I can remember,
> I do not propose replacing this with the Jakarta XML Web Services
> equivalent.
>
> Thoughts?

+1 for removal.

Rémy

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

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



[Bug 66406] JULI ClassLoaderLogManager creates multiple loggers named ""

2023-01-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66406

--- Comment #3 from Piotr P. Karwasz  ---
Hi Mark,

(In reply to Mark Thomas from comment #2)
> The description in comment #1 of how the handlers are configured does not
> match what I see with the current code.

I was referring to this snippet of code, that deals with the case, where the
application's classloader does not contain a `logging.properties` resource:

if (is == null) {
// Retrieve the root logger of the parent classloader instead
ClassLoader current = classLoader.getParent();
ClassLoaderLogInfo info = null;
while (current != null && info == null) {
info = getClassLoaderInfo(current);
current = current.getParent();
}
if (info != null) {
localRootLogger.setParent(info.rootNode.logger);
}
}

https://github.com/apache/tomcat/blob/bb81a2cf7abf2384e73bdac0313731b8963b9b66/java/org/apache/juli/ClassLoaderLogManager.java#L496

I believe that the reporter's main problem isn't having multiple loggers with
the same name, but having a root logger that has a parent. That is the reason
the code that removes all root handlers and replaces them with a
Log4jBridgeHandler does not work:
https://issues.apache.org/jira/browse/LOG4J2-3646

We can probably greatly reduce the `if` clause above, by ensuring that a
`logging.properties` file is always found.

There are however implications to such a change: Spring Boot uses heuristic to
decide whether or not install a Slf4jBridgeHandler. IIRC the current version
checks if the root logger has a single Console handler. In the current Tomcat
JULI version the root logger of a web app has no handlers, if we make the
change above, it will have all the handlers from the standard Catalina
`logging.properties`.

https://github.com/spring-projects/spring-boot/issues/8933

-- 
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



[tomcat] branch main updated: Update testing/validation libraries

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt 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 1c75ed6ec3 Update testing/validation libraries
1c75ed6ec3 is described below

commit 1c75ed6ec354e0a0b50ababc4616fdb8f922cb17
Author: Mark Thomas 
AuthorDate: Fri Jan 6 15:25:20 2023 +

Update testing/validation libraries
---
 build.properties.default   | 14 +++---
 webapps/docs/changelog.xml |  9 +
 2 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index be2c5e4851..d0c86a291a 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -256,19 +256,19 @@ 
objenesis.jar=${objenesis.home}/objenesis-${objenesis.version}.jar
 
objenesis.loc=${base-maven.loc}/org/objenesis/objenesis/${objenesis.version}/objenesis-${objenesis.version}.jar
 
 # - UnboundID, used by unit tests, version 5.1.4 or later -
-unboundid.version=6.0.6
+unboundid.version=6.0.7
 unboundid.checksum.enabled=true
 unboundid.checksum.algorithm=SHA-512
-unboundid.checksum.value=080a6719ceeb55bcdcc8cac7146b4da1ef7c29107d336868e7f77666fc834ed4191bdaa54dac03eccf02bdfb0b6293809b7b8a41eee7cf420489c98018afeb9f
+unboundid.checksum.value=c0adafab9e493150b9729f51fb0dee6a787821ab93a760794962fadcdbbbf9f868e5c159f3a344c43f0b7b037b9b01b35f86e4bc97e903a40e25c884cdedaf5b
 unboundid.home=${base.path}/unboundid-${unboundid.version}
 unboundid.jar=${unboundid.home}/unboundid-ldapsdk-${unboundid.version}.jar
 
unboundid.loc=${base-maven.loc}/com/unboundid/unboundid-ldapsdk/${unboundid.version}/unboundid-ldapsdk-${unboundid.version}.jar
 
 # - Checkstyle, version 6.16 or later -
-checkstyle.version=10.3.4
+checkstyle.version=10.6.0
 checkstyle.checksum.enabled=true
 checkstyle.checksum.algorithm=SHA-512
-checkstyle.checksum.value=03bf9d20a83dbf44dd83e8081e293903c94b10f92b9b78051be04a6c759c43cff537acf4086da23a69c8875b3f3dbabdd11ab345d07d3d42940621c507fc1e84
+checkstyle.checksum.value=424ec002f7246c081df0d24168ba3da20af06d001a1d77afead5a730fe2565bc7db5025ccdefe4d27b4545c4358cb20ac845365162011e63e216aabd6f7adf38
 checkstyle.home=${base.path}/checkstyle-${checkstyle.version}
 checkstyle.jar=${checkstyle.home}/checkstyle-${checkstyle.version}-all.jar
 
checkstyle.loc=${base-gh.loc}/checkstyle/checkstyle/releases/download/checkstyle-${checkstyle.version}/checkstyle-${checkstyle.version}-all.jar
@@ -283,10 +283,10 @@ jacoco.jar=${jacoco.home}/lib/jacocoant.jar
 
jacoco.loc=${base-maven.loc}/org/jacoco/jacoco/${jacoco.version}/jacoco-${jacoco.version}.zip
 
 # - SpotBugs (originally FindBugs) -
-spotbugs.version=4.7.2
+spotbugs.version=4.7.3
 spotbugs.checksum.enabled=true
 spotbugs.checksum.algorithm=SHA-256
-spotbugs.checksum.value=f02a023d03b0fde70038ccb4bc8d4a964a504262d13024a97b14d9070f7d4d96
+spotbugs.checksum.value=f02e2f1135b23f3edfddb75f64be0491353cfeb567b5a584115aa4fd373d4431
 spotbugs.home=${base.path}/spotbugs-${spotbugs.version}
 spotbugs.jar=${spotbugs.home}/lib/spotbugs-ant.jar
 
spotbugs.loc=${base-maven.loc}/com/github/spotbugs/spotbugs/${spotbugs.version}/spotbugs-${spotbugs.version}.tgz
@@ -298,7 +298,7 @@ bnd.version=6.3.1
 # checksums for biz.aQute.bnd-6.3.1.jar
 bnd.checksum.enabled=true
 bnd.checksum.algorithm=MD5|SHA-1
-bnd.checksum.value=06bb0a51c208fc2f24c8cd54216b4b6f|c00993c55ccee432dd43f540e6f7c194fe946d20
+bnd.checksum.value=a812b31a81f05767ea11896a81cd8eab|8a359edbb02aad9138b7824a0d7bbe22f02cf990
 
 bnd.home=${base.path}/bnd-${bnd.version}
 bnd.jar=${bnd.home}/biz.aQute.bnd-${bnd.version}.jar
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 268b2cb7d7..6a80447ebf 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -209,6 +209,15 @@
   
 Update to the Eclipse JDT compiler 4.26. (markt)
   
+  
+Update Checkstyle to 10.6.0. (markt)
+  
+  
+Update Unboundid to 6.0.7. (markt)
+  
+  
+Update SpotBugs to 4.7.3. (markt)
+  
 
   
 


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



[tomcat] 02/02: Additional false positives when running via Ant

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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

commit f0861729a239e88aa802f609ac55a52619243331
Author: Mark Thomas 
AuthorDate: Fri Jan 6 15:52:28 2023 +

Additional false positives when running via Ant
---
 res/spotbugs/filter-false-positives.xml | 30 ++
 1 file changed, 30 insertions(+)

diff --git a/res/spotbugs/filter-false-positives.xml 
b/res/spotbugs/filter-false-positives.xml
index 2f9ee2ca8a..dd4042b653 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -924,6 +924,16 @@
 
 
   
+  
+
+
+
+
+  
+  
+
+
+  
   
 
 
@@ -945,6 +955,12 @@
   
 
   
+  
+
+
+
+ 
+  
   
 
 
@@ -1210,12 +1226,20 @@
 
 
 
+  
   
   
   
   
   
   
+  
+  
+  
+  
+  
+  
+  
 
 
   
@@ -1397,6 +1421,12 @@
 
 
   
+  
+
+
+
+
+  
   
 
 


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



[tomcat] 01/02: Fix SpotBugs issues reported via IDE

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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

commit dbeb4f2602c683460f78550f857a20f09099a86a
Author: Mark Thomas 
AuthorDate: Fri Jan 6 15:37:19 2023 +

Fix SpotBugs issues reported via IDE
---
 res/spotbugs/filter-false-positives.xml | 20 +---
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/res/spotbugs/filter-false-positives.xml 
b/res/spotbugs/filter-false-positives.xml
index b2710b9dca..2f9ee2ca8a 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -1208,15 +1208,15 @@
   
   
 
+
 
-  
-  
-  
-  
-  
-  
+  
+  
+  
+  
+  
+  
 
-
 
   
   
@@ -2458,6 +2458,12 @@
 
 
   
+  
+
+
+
+
+  
   
 
 


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



[tomcat] branch main updated (1c75ed6ec3 -> f0861729a2)

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


from 1c75ed6ec3 Update testing/validation libraries
 new dbeb4f2602 Fix SpotBugs issues reported via IDE
 new f0861729a2 Additional false positives when running via Ant

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 res/spotbugs/filter-false-positives.xml | 52 -
 1 file changed, 44 insertions(+), 8 deletions(-)


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



[tomcat] branch 10.1.x updated (7921b2e5f9 -> 6a54b9ec54)

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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


from 7921b2e5f9 Add Java 21 source/target support for JSPs (if JDT version 
supports it)
 new 58ef1ec31d Update testing/validation libraries
 new dc82724fc5 Fix SpotBugs issues reported via IDE
 new 6a54b9ec54 Additional false positives when running via Ant

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 build.properties.default| 14 +-
 res/spotbugs/filter-false-positives.xml | 46 +++--
 webapps/docs/changelog.xml  |  9 +++
 3 files changed, 54 insertions(+), 15 deletions(-)


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



[tomcat] 01/03: Update testing/validation libraries

2023-01-06 Thread markt
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

commit 58ef1ec31d682645be5c89d6b6575af93621603e
Author: Mark Thomas 
AuthorDate: Fri Jan 6 15:25:20 2023 +

Update testing/validation libraries
---
 build.properties.default   | 14 +++---
 webapps/docs/changelog.xml |  9 +
 2 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index a13b99c88f..a9191a849a 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -256,19 +256,19 @@ 
objenesis.jar=${objenesis.home}/objenesis-${objenesis.version}.jar
 
objenesis.loc=${base-maven.loc}/org/objenesis/objenesis/${objenesis.version}/objenesis-${objenesis.version}.jar
 
 # - UnboundID, used by unit tests, version 5.1.4 or later -
-unboundid.version=6.0.6
+unboundid.version=6.0.7
 unboundid.checksum.enabled=true
 unboundid.checksum.algorithm=SHA-512
-unboundid.checksum.value=080a6719ceeb55bcdcc8cac7146b4da1ef7c29107d336868e7f77666fc834ed4191bdaa54dac03eccf02bdfb0b6293809b7b8a41eee7cf420489c98018afeb9f
+unboundid.checksum.value=c0adafab9e493150b9729f51fb0dee6a787821ab93a760794962fadcdbbbf9f868e5c159f3a344c43f0b7b037b9b01b35f86e4bc97e903a40e25c884cdedaf5b
 unboundid.home=${base.path}/unboundid-${unboundid.version}
 unboundid.jar=${unboundid.home}/unboundid-ldapsdk-${unboundid.version}.jar
 
unboundid.loc=${base-maven.loc}/com/unboundid/unboundid-ldapsdk/${unboundid.version}/unboundid-ldapsdk-${unboundid.version}.jar
 
 # - Checkstyle, version 6.16 or later -
-checkstyle.version=10.3.4
+checkstyle.version=10.6.0
 checkstyle.checksum.enabled=true
 checkstyle.checksum.algorithm=SHA-512
-checkstyle.checksum.value=03bf9d20a83dbf44dd83e8081e293903c94b10f92b9b78051be04a6c759c43cff537acf4086da23a69c8875b3f3dbabdd11ab345d07d3d42940621c507fc1e84
+checkstyle.checksum.value=424ec002f7246c081df0d24168ba3da20af06d001a1d77afead5a730fe2565bc7db5025ccdefe4d27b4545c4358cb20ac845365162011e63e216aabd6f7adf38
 checkstyle.home=${base.path}/checkstyle-${checkstyle.version}
 checkstyle.jar=${checkstyle.home}/checkstyle-${checkstyle.version}-all.jar
 
checkstyle.loc=${base-gh.loc}/checkstyle/checkstyle/releases/download/checkstyle-${checkstyle.version}/checkstyle-${checkstyle.version}-all.jar
@@ -283,10 +283,10 @@ jacoco.jar=${jacoco.home}/lib/jacocoant.jar
 
jacoco.loc=${base-maven.loc}/org/jacoco/jacoco/${jacoco.version}/jacoco-${jacoco.version}.zip
 
 # - SpotBugs (originally FindBugs) -
-spotbugs.version=4.7.2
+spotbugs.version=4.7.3
 spotbugs.checksum.enabled=true
 spotbugs.checksum.algorithm=SHA-256
-spotbugs.checksum.value=f02a023d03b0fde70038ccb4bc8d4a964a504262d13024a97b14d9070f7d4d96
+spotbugs.checksum.value=f02e2f1135b23f3edfddb75f64be0491353cfeb567b5a584115aa4fd373d4431
 spotbugs.home=${base.path}/spotbugs-${spotbugs.version}
 spotbugs.jar=${spotbugs.home}/lib/spotbugs-ant.jar
 
spotbugs.loc=${base-maven.loc}/com/github/spotbugs/spotbugs/${spotbugs.version}/spotbugs-${spotbugs.version}.tgz
@@ -298,7 +298,7 @@ bnd.version=6.3.1
 # checksums for biz.aQute.bnd-6.3.1.jar
 bnd.checksum.enabled=true
 bnd.checksum.algorithm=MD5|SHA-1
-bnd.checksum.value=06bb0a51c208fc2f24c8cd54216b4b6f|c00993c55ccee432dd43f540e6f7c194fe946d20
+bnd.checksum.value=a812b31a81f05767ea11896a81cd8eab|8a359edbb02aad9138b7824a0d7bbe22f02cf990
 
 bnd.home=${base.path}/bnd-${bnd.version}
 bnd.jar=${bnd.home}/biz.aQute.bnd-${bnd.version}.jar
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index b34f0a8001..f3b193c5ec 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -186,6 +186,15 @@
   
 Update to the Eclipse JDT compiler 4.26. (markt)
   
+  
+Update Checkstyle to 10.6.0. (markt)
+  
+  
+Update Unboundid to 6.0.7. (markt)
+  
+  
+Update SpotBugs to 4.7.3. (markt)
+  
 
   
 


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



[tomcat] 02/03: Fix SpotBugs issues reported via IDE

2023-01-06 Thread markt
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

commit dc82724fc583806a72095881ffa9e08f71511446
Author: Mark Thomas 
AuthorDate: Fri Jan 6 15:37:19 2023 +

Fix SpotBugs issues reported via IDE
---
 res/spotbugs/filter-false-positives.xml | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/res/spotbugs/filter-false-positives.xml 
b/res/spotbugs/filter-false-positives.xml
index b2710b9dca..9a1745c663 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -1208,15 +1208,15 @@
   
   
 
+
 
-  
-  
-  
-  
-  
-  
+  
+  
+  
+  
+  
+  
 
-
 
   
   


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



[tomcat] 03/03: Additional false positives when running via Ant

2023-01-06 Thread markt
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

commit 6a54b9ec542ea261bdc7dfdd85045a81905bd50c
Author: Mark Thomas 
AuthorDate: Fri Jan 6 15:52:28 2023 +

Additional false positives when running via Ant
---
 res/spotbugs/filter-false-positives.xml | 30 ++
 1 file changed, 30 insertions(+)

diff --git a/res/spotbugs/filter-false-positives.xml 
b/res/spotbugs/filter-false-positives.xml
index 9a1745c663..ac7915b632 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -924,6 +924,16 @@
 
 
   
+  
+
+
+
+
+  
+  
+
+
+  
   
 
 
@@ -945,6 +955,12 @@
   
 
   
+  
+
+
+
+ 
+  
   
 
 
@@ -1210,12 +1226,20 @@
 
 
 
+  
   
   
   
   
   
   
+  
+  
+  
+  
+  
+  
+  
 
 
   
@@ -1397,6 +1421,12 @@
 
 
   
+  
+
+
+
+
+  
   
 
 


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



[Bug 66370] AccessControlException and default behavior change with org.apache.el.GET_CLASSLOADER_USE_PRIVILEGED

2023-01-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66370

--- Comment #11 from Isaac Rivera Rivas  ---
Verified the updates worked locally by building the jar and testing with it.
Thanks for making the changes!

-- 
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



[tomcat] 01/03: Update testing/validation libraries

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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

commit f60722714c66c46008609230c458ad785f3c1b85
Author: Mark Thomas 
AuthorDate: Fri Jan 6 15:25:20 2023 +

Update testing/validation libraries
---
 build.properties.default   | 14 +++---
 webapps/docs/changelog.xml |  9 +
 2 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index 299bb5314f..9ca0af6c30 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -261,19 +261,19 @@ 
objenesis.jar=${objenesis.home}/objenesis-${objenesis.version}.jar
 
objenesis.loc=${base-maven.loc}/org/objenesis/objenesis/${objenesis.version}/objenesis-${objenesis.version}.jar
 
 # - UnboundID, used by unit tests, version 5.1.4 or later -
-unboundid.version=6.0.6
+unboundid.version=6.0.7
 unboundid.checksum.enabled=true
 unboundid.checksum.algorithm=SHA-512
-unboundid.checksum.value=080a6719ceeb55bcdcc8cac7146b4da1ef7c29107d336868e7f77666fc834ed4191bdaa54dac03eccf02bdfb0b6293809b7b8a41eee7cf420489c98018afeb9f
+unboundid.checksum.value=c0adafab9e493150b9729f51fb0dee6a787821ab93a760794962fadcdbbbf9f868e5c159f3a344c43f0b7b037b9b01b35f86e4bc97e903a40e25c884cdedaf5b
 unboundid.home=${base.path}/unboundid-${unboundid.version}
 unboundid.jar=${unboundid.home}/unboundid-ldapsdk-${unboundid.version}.jar
 
unboundid.loc=${base-maven.loc}/com/unboundid/unboundid-ldapsdk/${unboundid.version}/unboundid-ldapsdk-${unboundid.version}.jar
 
 # - Checkstyle, version 6.16 or later -
-checkstyle.version=10.3.4
+checkstyle.version=10.6.0
 checkstyle.checksum.enabled=true
 checkstyle.checksum.algorithm=SHA-512
-checkstyle.checksum.value=03bf9d20a83dbf44dd83e8081e293903c94b10f92b9b78051be04a6c759c43cff537acf4086da23a69c8875b3f3dbabdd11ab345d07d3d42940621c507fc1e84
+checkstyle.checksum.value=424ec002f7246c081df0d24168ba3da20af06d001a1d77afead5a730fe2565bc7db5025ccdefe4d27b4545c4358cb20ac845365162011e63e216aabd6f7adf38
 checkstyle.home=${base.path}/checkstyle-${checkstyle.version}
 checkstyle.jar=${checkstyle.home}/checkstyle-${checkstyle.version}-all.jar
 
checkstyle.loc=${base-gh.loc}/checkstyle/checkstyle/releases/download/checkstyle-${checkstyle.version}/checkstyle-${checkstyle.version}-all.jar
@@ -288,10 +288,10 @@ jacoco.jar=${jacoco.home}/lib/jacocoant.jar
 
jacoco.loc=${base-maven.loc}/org/jacoco/jacoco/${jacoco.version}/jacoco-${jacoco.version}.zip
 
 # - SpotBugs (originally FindBugs) -
-spotbugs.version=4.7.2
+spotbugs.version=4.7.3
 spotbugs.checksum.enabled=true
 spotbugs.checksum.algorithm=SHA-256
-spotbugs.checksum.value=f02a023d03b0fde70038ccb4bc8d4a964a504262d13024a97b14d9070f7d4d96
+spotbugs.checksum.value=f02e2f1135b23f3edfddb75f64be0491353cfeb567b5a584115aa4fd373d4431
 spotbugs.home=${base.path}/spotbugs-${spotbugs.version}
 spotbugs.jar=${spotbugs.home}/lib/spotbugs-ant.jar
 
spotbugs.loc=${base-maven.loc}/com/github/spotbugs/spotbugs/${spotbugs.version}/spotbugs-${spotbugs.version}.tgz
@@ -303,7 +303,7 @@ bnd.version=6.3.1
 # checksums for biz.aQute.bnd-6.3.1.jar
 bnd.checksum.enabled=true
 bnd.checksum.algorithm=MD5|SHA-1
-bnd.checksum.value=06bb0a51c208fc2f24c8cd54216b4b6f|c00993c55ccee432dd43f540e6f7c194fe946d20
+bnd.checksum.value=a812b31a81f05767ea11896a81cd8eab|8a359edbb02aad9138b7824a0d7bbe22f02cf990
 
 bnd.home=${base.path}/bnd-${bnd.version}
 bnd.jar=${bnd.home}/biz.aQute.bnd-${bnd.version}.jar
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 46f3e71b59..8b88a35dd5 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -188,6 +188,15 @@
 Improvements to Portuguese translations. Contributed by Guilherme
 Custódio. (markt)
   
+  
+Update Checkstyle to 10.6.0. (markt)
+  
+  
+Update Unboundid to 6.0.7. (markt)
+  
+  
+Update SpotBugs to 4.7.3. (markt)
+  
 
   
 


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



[tomcat] 02/03: Fix SpotBugs issues reported via IDE

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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

commit ed411d8668069c6cc4102204ca16e76d656f96d9
Author: Mark Thomas 
AuthorDate: Fri Jan 6 15:37:19 2023 +

Fix SpotBugs issues reported via IDE
---
 res/spotbugs/filter-false-positives.xml | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/res/spotbugs/filter-false-positives.xml 
b/res/spotbugs/filter-false-positives.xml
index fb5877ef72..7d73b085a5 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -1270,15 +1270,15 @@
   
   
 
+
 
-  
-  
-  
-  
-  
-  
+  
+  
+  
+  
+  
+  
 
-
 
   
   


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



[tomcat] branch 9.0.x updated (7ea07ebf49 -> 406047a0ab)

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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


from 7ea07ebf49 Add Java 21 source/target support for JSPs (if JDT version 
supports it)
 new f60722714c Update testing/validation libraries
 new ed411d8668 Fix SpotBugs issues reported via IDE
 new 406047a0ab Additional false positives when running via Ant

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 build.properties.default| 14 +-
 res/spotbugs/filter-false-positives.xml | 46 +++--
 webapps/docs/changelog.xml  |  9 +++
 3 files changed, 54 insertions(+), 15 deletions(-)


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



[tomcat] 03/03: Additional false positives when running via Ant

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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

commit 406047a0abe8c73df78af5e5e6ba1e0fef860bb6
Author: Mark Thomas 
AuthorDate: Fri Jan 6 15:52:28 2023 +

Additional false positives when running via Ant
---
 res/spotbugs/filter-false-positives.xml | 30 ++
 1 file changed, 30 insertions(+)

diff --git a/res/spotbugs/filter-false-positives.xml 
b/res/spotbugs/filter-false-positives.xml
index 7d73b085a5..9a8688f2d9 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -986,6 +986,16 @@
 
 
   
+  
+
+
+
+
+  
+  
+
+
+  
   
 
 
@@ -1007,6 +1017,12 @@
   
 
   
+  
+
+
+
+ 
+  
   
 
 
@@ -1272,12 +1288,20 @@
 
 
 
+  
   
   
   
   
   
   
+  
+  
+  
+  
+  
+  
+  
 
 
   
@@ -1462,6 +1486,12 @@
 
 
   
+  
+
+
+
+
+  
   
 
 


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



[tomcat] 02/02: Additional false positives when running via Ant

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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

commit 3737dd8f7c5941fb19f221278fda726a31c39ab7
Author: Mark Thomas 
AuthorDate: Fri Jan 6 15:52:28 2023 +

Additional false positives when running via Ant
---
 res/spotbugs/filter-false-positives.xml | 22 ++
 1 file changed, 22 insertions(+)

diff --git a/res/spotbugs/filter-false-positives.xml 
b/res/spotbugs/filter-false-positives.xml
index 8405047bc8..7a18f5fbdf 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -954,6 +954,16 @@
 
 
   
+  
+
+
+
+
+  
+  
+
+
+  
   
 
 
@@ -972,6 +982,12 @@
 
 
   
+  
+
+
+
+ 
+  
   
 
 
@@ -1422,6 +1438,12 @@
 
 
   
+  
+
+
+
+
+  
   
 
 


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



[tomcat] 01/02: Update testing/validation libraries

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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

commit a0ce7f64fff1b2bcd6ae7f25940b020630bd6e22
Author: Mark Thomas 
AuthorDate: Fri Jan 6 15:25:20 2023 +

Update testing/validation libraries
---
 build.properties.default   | 12 ++--
 webapps/docs/changelog.xml |  9 +
 2 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/build.properties.default b/build.properties.default
index 0f4c1a3a38..486088f067 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -265,19 +265,19 @@ 
objenesis.jar=${objenesis.home}/objenesis-${objenesis.version}.jar
 
objenesis.loc=${base-maven.loc}/org/objenesis/objenesis/${objenesis.version}/objenesis-${objenesis.version}.jar
 
 # - UnboundID, used by unit tests, version 5.1.4 or later -
-unboundid.version=6.0.6
+unboundid.version=6.0.7
 unboundid.checksum.enabled=true
 unboundid.checksum.algorithm=SHA-512
-unboundid.checksum.value=080a6719ceeb55bcdcc8cac7146b4da1ef7c29107d336868e7f77666fc834ed4191bdaa54dac03eccf02bdfb0b6293809b7b8a41eee7cf420489c98018afeb9f
+unboundid.checksum.value=c0adafab9e493150b9729f51fb0dee6a787821ab93a760794962fadcdbbbf9f868e5c159f3a344c43f0b7b037b9b01b35f86e4bc97e903a40e25c884cdedaf5b
 unboundid.home=${base.path}/unboundid-${unboundid.version}
 unboundid.jar=${unboundid.home}/unboundid-ldapsdk-${unboundid.version}.jar
 
unboundid.loc=${base-maven.loc}/com/unboundid/unboundid-ldapsdk/${unboundid.version}/unboundid-ldapsdk-${unboundid.version}.jar
 
 # - Checkstyle, version 6.16 or later -
-checkstyle.version=10.3.4
+checkstyle.version=10.6.0
 checkstyle.checksum.enabled=true
 checkstyle.checksum.algorithm=SHA-512
-checkstyle.checksum.value=03bf9d20a83dbf44dd83e8081e293903c94b10f92b9b78051be04a6c759c43cff537acf4086da23a69c8875b3f3dbabdd11ab345d07d3d42940621c507fc1e84
+checkstyle.checksum.value=424ec002f7246c081df0d24168ba3da20af06d001a1d77afead5a730fe2565bc7db5025ccdefe4d27b4545c4358cb20ac845365162011e63e216aabd6f7adf38
 checkstyle.home=${base.path}/checkstyle-${checkstyle.version}
 checkstyle.jar=${checkstyle.home}/checkstyle-${checkstyle.version}-all.jar
 
checkstyle.loc=${base-gh.loc}/checkstyle/checkstyle/releases/download/checkstyle-${checkstyle.version}/checkstyle-${checkstyle.version}-all.jar
@@ -292,10 +292,10 @@ jacoco.jar=${jacoco.home}/lib/jacocoant.jar
 
jacoco.loc=${base-maven.loc}/org/jacoco/jacoco/${jacoco.version}/jacoco-${jacoco.version}.zip
 
 # - SpotBugs (originally FindBugs) -
-spotbugs.version=4.7.2
+spotbugs.version=4.7.3
 spotbugs.checksum.enabled=true
 spotbugs.checksum.algorithm=SHA-256
-spotbugs.checksum.value=f02a023d03b0fde70038ccb4bc8d4a964a504262d13024a97b14d9070f7d4d96
+spotbugs.checksum.value=f02e2f1135b23f3edfddb75f64be0491353cfeb567b5a584115aa4fd373d4431
 spotbugs.home=${base.path}/spotbugs-${spotbugs.version}
 spotbugs.jar=${spotbugs.home}/lib/spotbugs-ant.jar
 
spotbugs.loc=${base-maven.loc}/com/github/spotbugs/spotbugs/${spotbugs.version}/spotbugs-${spotbugs.version}.tgz
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index c1d0918dbb..06f4f23a17 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -220,6 +220,15 @@
 Improvements to Portuguese translations. Contributed by Guilherme
 Custódio. (markt)
   
+  
+Update Checkstyle to 10.6.0. (markt)
+  
+  
+Update Unboundid to 6.0.7. (markt)
+  
+  
+Update SpotBugs to 4.7.3. (markt)
+  
 
   
 


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



[tomcat] branch 8.5.x updated (da831f673d -> 3737dd8f7c)

2023-01-06 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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


from da831f673d Add Java 21 source/target support for JSPs (if JDT version 
supports it)
 new a0ce7f64ff Update testing/validation libraries
 new 3737dd8f7c Additional false positives when running via Ant

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 build.properties.default| 12 ++--
 res/spotbugs/filter-false-positives.xml | 22 ++
 webapps/docs/changelog.xml  |  9 +
 3 files changed, 37 insertions(+), 6 deletions(-)


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



Re: January release plans

2023-01-06 Thread Christopher Schultz

Mark,

On 1/6/23 04:32, Mark Thomas wrote:

Hi all,

I've almost finished the prep for the January releases. I expect to 
finish that later today. My current plan is to tag and build releases 
for 11.0.x and 10.1.x at the start of next week.


+1

I'll see if I can generate a byte-faithful copy of your 10.1 release.

-chris

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



Re: Tomcat and JAX-RPC support

2023-01-06 Thread Christopher Schultz

Mark,

On 1/6/23 05:49, Mark Thomas wrote:
Tomcat (all versions) currently ships a JNDI factory for JAX-RPC 1.1. 
This factory was added in Tomcat 6 (Java EE 5).


Java EE 5 (Tomcat 6) encouraged new applications to use JAX-WS rather 
than JAX-RPC.


Java EE 6 (Tomcat 7) marked JAX-RPC as "Proposed Optional".

Java EE 7 (Tomcat 8) marked JAX-RPC as "Optional".

Jakarta EE 9 (Tomcat 10.0) removed JAX-RPC from the Jakarta platform.

Tomcat 10.1 and Tomcat 11 still include the JNDI factory for JAX-RPC.

I would like to propose deprecating JAX-RPC support in 10.1 and earlier 
and removing it in Tomcat 11. Ideally, I'd like to remove JAX-RPC 
support in Tomcat 10.1 but it is too late to do that now 10.1.x is stable.


+1 for removing it in Tomcat 11.

-chris

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



Any graalvm diet planned?

2023-01-06 Thread Romain Manni-Bucau
Hi all,

It is quite easy to make tomcat running with graalvm these days even
without any tooling (it is mainly about enabling one reflection point [1]
and a few bundles [2]) however the outcoming binary is quite fat compared
to what I expected (~40M).

Checking with graalvm dashboard (-H:DashboardDump=g.dump -H:+DashboardAll)
I realized it is mainly about constants - the code itself is about 18M,
heap 23M).
One surprising thing is that the heap references
mbeanserver.ClassLoaderRepository even disabling JMX - probably because
even when disabled classes still references it.

So I wonder if there is any plan for Tomcat 11 to make it more modular and
enable to reduce all that to try to get back to a ~15M binary (for a hello
world servlet so only tomcat).
Guess it can only target Nio connector, drop JMX from the main codepath
(make it a plugin) and probably drop some start-only constant from the
constant pool.

I'm not sure the best way to do that for the project but think it can
benefit native-image users a lot and even java consumers since at the end
the project can be lighter to integrate in embedded mode since most of the
XML stuff is less and less set up.


[1] [{"name" : "org.apache.coyote.AbstractProtocol", "allPublicMethods" :
true}]
[2] {

  "resources": {
"includes": [
  {"pattern": ".+\\/LocalStrings\\.properties"},
  {"pattern":
"org\\/apache\\/catalina\\/core\\/RestrictedServlets\\.properties"},
  {"pattern":
"org\\/apache\\/catalina\\/core\\/RestrictedFilters\\.properties"},
  {"pattern":
"org\\/apache\\/catalina\\/core\\/RestrictedListeners\\.properties"},
  {"pattern": "org\\/apache\\/catalina\\/util\\/ServerInfo\\.properties"}
]
  }
}


Romain Manni-Bucau
@rmannibucau  |  Blog
 | Old Blog
 | Github  |
LinkedIn  | Book