This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a change to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
from c4f2c97649 Review "Avoid StringIndexOutOfBoundsException on an empty
..."
new 020badff25 Fix initialization and interceptor failure cleanup in the
pool
new ced588619b Clean up ConnectionPool comments and javadoc
new dff2e2ee7d Refuse a second DataSource JMX registration
new 84ac4406eb Close the fresh pool when publication fails
new 8e540335ea Reject a negative login timeout
new effd7148e6 Retry a failed XA/CPDS handle close
new 26abb0a27e Mask credentials in driver connect failure logs
new 5176939cd1 Harden PoolProperties credential handling
new 970623525e Clarify PoolProperties snapshot and interceptor reuse docs
new 55be99e605 Stop exposing the internal pooled connection through Wrapper
new 6078491139 Fix statistics store ownership on pool name reuse and
release
new 17f18346cc Handle a failed slow-query JMX composite type once
new b8e5e952c6 Do not hand out a cache entry that lost the removal race
new 8947fe134f Publish StatementCache state safely across threads
new ac29424059 Clarify PoolConfiguration defaults and data source backing
new eb23b9e85f Clarify ResetAbandonedTimer MBean release points
new b5550eef13 Clarify the result-set proxy's own methods
new ca2449678d Clarify StatementFacade handle sealing
new 5ab4dbae74 Clarify Validator error handling
new e5fbdc02dc Fix checkstyle issues in jdbc-pool tests
The 20 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:
.../apache/tomcat/jdbc/pool/ConnectionPool.java | 129 +++++-----
.../org/apache/tomcat/jdbc/pool/DataSource.java | 164 ++++---------
.../apache/tomcat/jdbc/pool/DataSourceProxy.java | 199 +++++-----------
.../apache/tomcat/jdbc/pool/PoolConfiguration.java | 14 +-
.../apache/tomcat/jdbc/pool/PoolProperties.java | 181 +++++---------
.../apache/tomcat/jdbc/pool/PooledConnection.java | 159 ++++---------
.../apache/tomcat/jdbc/pool/ProxyConnection.java | 199 +++-------------
.../apache/tomcat/jdbc/pool/StatementFacade.java | 45 ++--
.../org/apache/tomcat/jdbc/pool/Validator.java | 5 +-
.../jdbc/pool/interceptor/ResetAbandonedTimer.java | 68 ++----
.../jdbc/pool/interceptor/SlowQueryReport.java | 143 ++++-------
.../jdbc/pool/interceptor/SlowQueryReportJmx.java | 132 ++++-------
.../jdbc/pool/interceptor/StatementCache.java | 75 +++---
.../interceptor/StatementDecoratorInterceptor.java | 7 +-
.../tomcat/jdbc/pool/util/LocalStrings.properties | 7 +-
.../org/apache/tomcat/jdbc/JdbcPoolBaseTest.java | 10 +
.../TestDataSourceProxyPublicationCleanup.java | 73 ++++++
.../jdbc/pool/TestDriverConnectDiagnostics.java | 62 +++++
.../jdbc/pool/TestIdleValidationHeadOfLine.java | 4 +-
.../pool/TestJdbcInterceptorConfigParsing.java | 19 ++
.../tomcat/jdbc/pool/TestLoginTimeoutMapping.java | 15 ++
.../pool/TestMBeanDelegationWhenDisconnected.java | 2 +-
.../TestMalformedInterceptorConfiguration.java | 110 +++++++++
.../jdbc/pool/TestPoolInitializationCleanup.java | 123 ++++++++++
.../tomcat/jdbc/pool/TestPoolProperties.java | 40 ++++
.../jdbc/pool/TestPooledConnectionHandleLeak.java | 264 +++++++++++++++++++++
.../tomcat/jdbc/pool/TestTestAllIdleClaim.java | 10 +-
.../pool/TestThrowingDisconnectedInterceptor.java | 6 +-
.../pool/TestThrowingDriverOnClaimedPaths.java | 4 +-
.../jdbc/pool/TestThrowingResetInterceptor.java | 6 +-
.../apache/tomcat/jdbc/pool/TestValidation.java | 2 +-
.../tomcat/jdbc/pool/TestWrapperContract.java | 54 ++---
.../tomcat/jdbc/pool/TestXaConnectionLeak.java | 6 +-
.../TestResetAbandonedTimerMBeanIdle.java | 2 +-
.../interceptor/TestSlowQueryJmxMBeanSurface.java | 72 ++++--
.../TestSlowQueryReportAbandonedPool.java | 21 +-
.../interceptor/TestSlowQueryReportPoolNames.java | 33 +++
.../TestStatementCacheCloseAfterDisposal.java | 2 +-
.../TestStatementCacheInterceptorOrder.java | 2 +-
.../TestStatementCacheLostRemovalRace.java | 132 +++++++++++
.../TestStatementCachePurgeCloseFailure.java | 4 +-
.../interceptor/TestStatementCacheRacingClose.java | 2 +-
.../interceptor/TestStatementCacheRacingPark.java | 4 +-
.../interceptor/TestStatementCacheReconnect.java | 6 +-
.../TestStatementCacheStaleEntryResurrection.java | 5 +-
.../pool/interceptor/TestStatementFinalizer.java | 2 +-
.../jmx/TestDataSourceRegistrationVsClose.java | 2 +-
.../pool/jmx/TestDataSourceReregistration.java | 66 +++---
48 files changed, 1511 insertions(+), 1181 deletions(-)
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestDataSourceProxyPublicationCleanup.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestMalformedInterceptorConfiguration.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestPoolInitializationCleanup.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestPooledConnectionHandleLeak.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheLostRemovalRace.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]