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 4fc7cc9 Add a TODO 4fc7cc9 is described below commit 4fc7cc94d4fb78ad5bc62ce93f67ba82cb4faac7 Author: Mark Thomas <ma...@apache.org> AuthorDate: Tue Sep 7 09:53:31 2021 +0100 Add a TODO --- java/jakarta/el/ListELResolver.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/jakarta/el/ListELResolver.java b/java/jakarta/el/ListELResolver.java index b79659b..73fcc39 100644 --- a/java/jakarta/el/ListELResolver.java +++ b/java/jakarta/el/ListELResolver.java @@ -27,6 +27,8 @@ public class ListELResolver extends ELResolver { private final boolean readOnly; + // TODO - Handle the Lists created by List.of(). Multiple package private + // classes. Java 9 + so a back-port would require JreCompat. private static final Class<?> UNMODIFIABLE = Collections.unmodifiableList(new ArrayList<>()).getClass(); public ListELResolver() { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org