This is an automated email from the ASF dual-hosted git repository. rmaucher pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit ccd673af933faddc475c0d81ae77e51e80089d28 Author: opencode <[email protected]> AuthorDate: Thu Nov 5 23:43:59 2026 +0100 Fix the java.sql.Connection javadoc reference The PooledConnection.toString() javadoc used a simple Connection#toString() link that javadoc cannot resolve without the import. Refer to the qualified type. --- .../src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java b/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java index 5181de646b..cdc8337932 100644 --- a/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java +++ b/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java @@ -1647,7 +1647,7 @@ public class PooledConnection implements PooledConnectionMBean { /** * Returns a diagnostic rendering of this pooled connection that is safe to interpolate into a pool log message: * the connection's identity and whether it currently holds a physical session, never the driver's own - * {@link Connection#toString()}. That text is unmasked and may carry the URL, the user or other session details, + * {@link java.sql.Connection}'s own {@code toString()}. That text is unmasked and may carry the URL, the user or other session details, * and it may contain newlines, so passing it into a pool warning could expose a credential or forge log lines. A * caller that wants the driver's text for an explicit dump can read the physical connection itself. * --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
