This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
from 0f33a458ad Merge branch 'main' of [email protected]:apache/tomcat.git
into main
new 070258cac3 Correct equals() implementations in method expression
classes
new 4f7b589c86 Pin serialVersionUID in EL expression classes
new 11ef7a700d Surface EL arithmetic and comparison errors as ELException
new 797189adef Report accurate result type for EL concatenation expressions
new f3bdd779b3 Pass empty array for empty EL function varargs
new 1d672d78c8 Reject multiple parameter sets for EL constructor and
static calls
new 785e0633b1 Correct the EL empty operator for empty primitive arrays
new af5e7f78aa Resolve imported identifiers in AstIdentifier.getType()
new 62c263c345 Coerce strings correctly for the EL unary minus operator
new 8464f763c1 Report inaccessible methods in BeanELResolver as
MethodNotFoundException
new 4c133c17c5 Accept zero varargs elements in EL method expression calls
new 246b894299 Evaluate each expression once for EL method references
new c10ffabe49 Reduce the cost of parsing EL expressions with long tokens
new 84dbabf4dd Coerce EL stream predicate results in the match operations
new 66ed21ab7c Accept null results from EL stream comparator lambdas
new 7619dc3852 Follow the EL specification for substream with a negative
start
new 281d550adf Correct the method call check in AstValue.getValueReference
The 17 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:
java/jakarta/el/BeanELResolver.java | 8 +
java/jakarta/el/LocalStrings.properties | 2 +
java/org/apache/el/LocalStrings.properties | 4 +
java/org/apache/el/MethodExpressionImpl.java | 15 +-
java/org/apache/el/MethodExpressionLiteral.java | 10 +-
java/org/apache/el/ValueExpressionImpl.java | 4 +
java/org/apache/el/lang/ELArithmetic.java | 86 +++++++---
java/org/apache/el/lang/ELSupport.java | 28 ++-
java/org/apache/el/parser/AstAbstractEmpty.java | 3 +-
java/org/apache/el/parser/AstConcatenation.java | 19 ++
java/org/apache/el/parser/AstFunction.java | 26 ++-
java/org/apache/el/parser/AstIdentifier.java | 23 ++-
java/org/apache/el/parser/AstNegative.java | 14 +-
java/org/apache/el/parser/AstValue.java | 15 +-
java/org/apache/el/parser/SimpleCharStream.java | 14 +-
java/org/apache/el/stream/Stream.java | 52 ++++--
test/jakarta/el/TestBeanELResolver.java | 58 +++++++
test/org/apache/el/TestMethodExpressionImpl.java | 139 ++++++++++++++-
test/org/apache/el/TestValueExpressionImpl.java | 53 ++++++
.../el/{TesterBeanJ.java => TesterBeanK.java} | 35 ++--
.../el/{TesterBeanD.java => TesterBeanM.java} | 26 ++-
test/org/apache/el/TesterFunctions.java | 10 ++
test/org/apache/el/lang/TestELArithmetic.java | 104 +++++++++++
test/org/apache/el/lang/TestELSupport.java | 81 +++++++++
.../org/apache/el/parser/TestAstConcatenation.java | 51 ++++++
test/org/apache/el/parser/TestAstEmpty.java | 29 ++++
test/org/apache/el/parser/TestAstFunction.java | 74 ++++++++
test/org/apache/el/parser/TestAstIdentifier.java | 94 ++++++++++
test/org/apache/el/parser/TestAstNegative.java | 111 ++++++++++++
test/org/apache/el/parser/TestAstNotEmpty.java | 19 ++
.../apache/el/stream/TestCollectionOperations.java | 191 +++++++++++++++++++++
test/org/apache/el/util/TestReflectionUtil.java | 18 +-
32 files changed, 1299 insertions(+), 117 deletions(-)
copy test/org/apache/el/{TesterBeanJ.java => TesterBeanK.java} (61%)
copy test/org/apache/el/{TesterBeanD.java => TesterBeanM.java} (67%)
create mode 100644 test/org/apache/el/parser/TestAstNegative.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]