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 86f8d8c Update comment for Target JRE as well 86f8d8c is described below commit 86f8d8c1f4aec1b44e2e5cbbe4ce8886a4d7b97e Author: Mark Thomas <ma...@apache.org> AuthorDate: Sat Mar 28 15:12:20 2020 +0000 Update comment for Target JRE as well --- 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 ec347d8..5daea81 100644 --- a/java/org/apache/jasper/compiler/JDTCompiler.java +++ b/java/org/apache/jasper/compiler/JDTCompiler.java @@ -438,8 +438,8 @@ public class JDTCompiler extends org.apache.jasper.compiler.Compiler { settings.put(CompilerOptions.OPTION_TargetPlatform, "11"); settings.put(CompilerOptions.OPTION_Compliance, "11"); } else if(opt.equals("12")) { - // Constant not available in latest available ECJ version. - // May be supported in a snapshot build. + // 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, "12"); settings.put(CompilerOptions.OPTION_Compliance, "12"); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org