(tomcat) branch main updated: Add change log entry

[email protected]
Newsgroups gmane.comp.jakarta.tomcat.devel
Message-ID <178635600908.1939013.10095298122414029866@gitbox3-he-fi.apache.org>
This is an automated email from the ASF dual-hosted git repository.

markt-asf 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 f02e207ab8 Add change log entry
f02e207ab8 is described below

commit f02e207ab844733ff995fdc86bd5ee1f79a3e068
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Aug 10 11:00:02 2026 +0100

    Add change log entry
---
 modules/jdbc-pool/doc/jdbc-pool.xml | 2 +-
 webapps/docs/changelog.xml          | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/modules/jdbc-pool/doc/jdbc-pool.xml b/modules/jdbc-pool/doc/jdbc-pool.xml
index 871c18ff5d..39b59b0bb3 100644
--- a/modules/jdbc-pool/doc/jdbc-pool.xml
+++ b/modules/jdbc-pool/doc/jdbc-pool.xml
@@ -275,7 +275,7 @@
 
     <attribute name="testOnBorrow" required="false">
       <p>(boolean) The indication of whether objects will be validated before being borrowed from the pool.
-         If the object fails to validate, a reconnection is attempted using the same object. 
+         If the object fails to validate, a reconnection is attempted using the same object.
          If the reconnection also fails, the object is dropped from the pool and an <code>SQLException</code> is thrown.
          In order to have a more efficient validation, see <code>validationInterval</code>.
          Default value is <code>false</code>
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 27aea75843..ab27642d85 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -480,6 +480,11 @@
   <subsection name="jdbc-pool">
     <changelog>
       <!-- Entries for backport and removal before 12.0.0-M1 below this line -->
+      <fix>
+        <bug>70164</bug>: Correct the documentation for the
+        <code>testOnBorrow</code> attribute. Pull request <pr>1033</pr> provided
+        by Kohei Tamura. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Other">
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.