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 76f2eea085 Fix possible overflow
new 33a3acd94a Avoid NPE in SimpleInstanceManager.newInstance(String) with
null TCCL
new 8823774e5e Avoid invoking unsupported-type setters with null in
IntrospectionUtils
new 1b4c839a9c Fix potential NPE in Diagnostics deadlock thread dump
new 60d66fd4d0 Fix DER INTEGER encoding in Asn1Writer.writeInteger()
new cca07d5083 Preserve separator slash when escaping custom WAR separator
in JAR URLs
new 7d31418339 Recycle C2BConverter in UEncoder.encodeURL to avoid state
leaking across calls
new a888b21d35 Cap eden promotion in ConcurrentCache.get() at the
configured size
new b9ee40a12c Enforce lowered limit immediately in
SynchronizedStack.setLimit()
new b760e70832 Validate initialSize in the SynchronizedQueue(int)
constructor
new ea48eaaa3c Make CaseInsensitiveKeyMap.keySet() view fully
case-insensitive
new 716b7d8066 Fix missing path separator in
XmlIdentifiers.WEBSERVICES_12_XSD
new 6b2540663f Ignore incomplete tag-plugin entries in
TagPluginParser.addPlugin()
new 9254ef08d7 Serialize TLD re-parses on the shared parser in TldCache
new 327ea63765 Parse implicit TLDs in the TldScanner with the strict rule
set
new 12b87961e4 Reject a null URL in the TldResourcePath constructors
new 251751fcbb Store ContextService port-component refs outside generic
properties
new 5f6da06c35 Default filters to async unsupported unless set to true
new ad2143b206 Return false rather than throw for
SecurityRoleRef.equals(null)
new fe6ce0b16c Validate the cookie max-age value at deployment time
The 19 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/org/apache/jasper/compiler/TldCache.java | 13 +-
.../jasper/resources/LocalStrings.properties | 2 +
java/org/apache/jasper/servlet/TldScanner.java | 55 ++++++-
java/org/apache/tomcat/SimpleInstanceManager.java | 6 +-
java/org/apache/tomcat/util/Diagnostics.java | 15 +-
.../org/apache/tomcat/util/IntrospectionUtils.java | 5 +
java/org/apache/tomcat/util/buf/Asn1Writer.java | 24 +--
java/org/apache/tomcat/util/buf/UEncoder.java | 5 +
java/org/apache/tomcat/util/buf/UriUtil.java | 6 +-
.../util/collections/CaseInsensitiveKeyMap.java | 74 +++++++++
.../tomcat/util/collections/ConcurrentCache.java | 5 +-
.../util/collections}/LocalStrings.properties | 2 +-
.../tomcat/util/collections/SynchronizedQueue.java | 14 +-
.../tomcat/util/collections/SynchronizedStack.java | 27 +++-
.../tomcat/util/descriptor/XmlIdentifiers.java | 2 +-
.../descriptor/tagplugin}/LocalStrings.properties | 2 +-
.../util/descriptor/tagplugin/TagPluginParser.java | 12 +-
.../util/descriptor/tld/LocalStrings.properties | 1 +
.../util/descriptor/tld/TldResourcePath.java | 11 ++
.../tomcat/util/descriptor/web/ContextService.java | 15 +-
.../tomcat/util/descriptor/web/FilterDef.java | 8 +-
.../util/descriptor/web/SecurityRoleRef.java | 3 +-
.../tomcat/util/descriptor/web/SessionConfig.java | 5 +
.../apache/tomcat/util/descriptor/web/WebXml.java | 2 +-
test/org/apache/jasper/compiler/TestTldCache.java | 180 +++++++++++++++++++++
test/org/apache/jasper/servlet/TestTldScanner.java | 103 ++++++++++++
.../apache/tomcat/util/TestIntrospectionUtils.java | 45 ++++++
.../org/apache/tomcat/util/buf/TestAsn1Writer.java | 159 ++++++++++++++++++
test/org/apache/tomcat/util/buf/TestUEncoder.java | 22 +++
test/org/apache/tomcat/util/buf/TestUriUtil40.java | 17 ++
.../collections/TestCaseInsensitiveKeyMap.java | 60 +++++++
.../util/collections/TestConcurrentCache.java | 128 +++++++++++++++
.../util/collections/TestSynchronizedQueue.java | 26 +++
.../util/collections/TestSynchronizedStack.java | 75 +++++++++
.../tagplugin/TestTagPluginParser-malformed.xml} | 22 ++-
.../descriptor/tagplugin/TestTagPluginParser.java | 80 +++++++++
.../util/descriptor/tld/TestTldResourcePath.java | 63 ++++++++
.../tomcat/util/descriptor/web/TestFilterDef.java | 40 ++++-
.../util/descriptor/web/TestSecurityRoleRef.java | 68 ++++++++
.../util/descriptor/web/TestSessionConfig.java | 82 ++++++++++
.../tomcat/util/descriptor/web/TestWebXml.java | 77 +++++++++
.../util/descriptor/web/TestWebXmlParser.java | 44 +++++
webapps/docs/changelog.xml | 19 +++
43 files changed, 1578 insertions(+), 46 deletions(-)
copy java/{jakarta/servlet/jsp =>
org/apache/tomcat/util/collections}/LocalStrings.properties (90%)
copy java/{jakarta/servlet/jsp =>
org/apache/tomcat/util/descriptor/tagplugin}/LocalStrings.properties (86%)
create mode 100644 test/org/apache/jasper/compiler/TestTldCache.java
create mode 100644 test/org/apache/tomcat/util/buf/TestAsn1Writer.java
create mode 100644
test/org/apache/tomcat/util/collections/TestConcurrentCache.java
copy test/org/apache/{jasper/tagplugins/jstl/core/redirect-tagPlugins.xml =>
tomcat/util/descriptor/tagplugin/TestTagPluginParser-malformed.xml} (61%)
create mode 100644
test/org/apache/tomcat/util/descriptor/tagplugin/TestTagPluginParser.java
create mode 100644
test/org/apache/tomcat/util/descriptor/tld/TestTldResourcePath.java
create mode 100644
test/org/apache/tomcat/util/descriptor/web/TestSecurityRoleRef.java
create mode 100644
test/org/apache/tomcat/util/descriptor/web/TestSessionConfig.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]