You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/06/14 12:04:45 UTC

[tomcat] branch 9.0.x updated: Update optimisation for new java.lang class added in Java 19

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 06f78d7501 Update optimisation for new java.lang class added in Java 19
06f78d7501 is described below

commit 06f78d750185c099274acf36252e6b2b230589ce
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Jun 14 13:04:20 2022 +0100

    Update optimisation for new java.lang class added in Java 19
---
 java/javax/el/ImportHandler.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/java/javax/el/ImportHandler.java b/java/javax/el/ImportHandler.java
index 2fc5270491..be20c909a7 100644
--- a/java/javax/el/ImportHandler.java
+++ b/java/javax/el/ImportHandler.java
@@ -141,7 +141,7 @@ public class ImportHandler {
         standardPackages.put("javax.servlet.jsp", servletJspClassNames);
 
         Set<String> javaLangClassNames = new HashSet<>();
-        // Based on Java 19 EA22
+        // Based on Java 19 EA26
         // Interfaces
         javaLangClassNames.add("Appendable");
         javaLangClassNames.add("AutoCloseable");
@@ -230,6 +230,7 @@ public class ImportHandler {
         javaLangClassNames.add("InstantiationException");
         javaLangClassNames.add("InterruptedException");
         javaLangClassNames.add("LayerInstantiationException");
+        javaLangClassNames.add("MatchException");
         javaLangClassNames.add("NegativeArraySizeException");
         javaLangClassNames.add("NoSuchFieldException");
         javaLangClassNames.add("NoSuchMethodException");


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