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 abcdaa6a3a Fix comment abcdaa6a3a is described below commit abcdaa6a3a6233c0e568a3125c0e702aa73e3ab8 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Apr 29 09:08:35 2024 +0100 Fix comment --- java/org/apache/jasper/compiler/JDTCompiler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/jasper/compiler/JDTCompiler.java b/java/org/apache/jasper/compiler/JDTCompiler.java index e34a911166..5231a4e1eb 100644 --- a/java/org/apache/jasper/compiler/JDTCompiler.java +++ b/java/org/apache/jasper/compiler/JDTCompiler.java @@ -423,8 +423,8 @@ public class JDTCompiler extends org.apache.jasper.compiler.Compiler { settings.put(CompilerOptions.OPTION_TargetPlatform, "22"); settings.put(CompilerOptions.OPTION_Compliance, "22"); } else if (opt.equals("23")) { - // Constant not available in latest ECJ version shipped with - // Tomcat. May be supported in a snapshot build. + // Constant not available in latest ECJ version that runs on + // Java 11. // This is checked against the actual version below. settings.put(CompilerOptions.OPTION_TargetPlatform, "23"); settings.put(CompilerOptions.OPTION_Compliance, "23"); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org