This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git
commit ba4ab03b1363182062b07d9f66083d38bd82edbf Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Tue Jul 30 15:14:16 2019 -0400 [DBCP-550] java.util.IllegalFormatException while building a message for a SQLFeatureNotSupportedException in Jdbc41Bridge.getObject(ResultSet,String,Class) --- src/changes/changes.xml | 3 +++ src/main/java/org/apache/commons/dbcp2/Jdbc41Bridge.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 3325853..0883547 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -115,6 +115,9 @@ The <action> type attribute can be add,update,fix,remove. <action dev="ggregory" type="update" issue="DBCP-549" due-to="Gary Gregory"> Make org.apache.commons.dbcp2.AbandonedTrace.removeTrace(AbandonedTrace) null-safe. </action> + <action dev="ggregory" type="update" issue="DBCP-550" due-to="Gary Gregory"> + java.util.IllegalFormatException while building a message for a SQLFeatureNotSupportedException in Jdbc41Bridge.getObject(ResultSet,String,Class). + </action> </release> <release version="2.6.0" date="2019-02-14" description="This is a minor release, including bug fixes and enhancements."> <action dev="chtompki" type="add" issue="DBCP-534" due-to="Peter Wicks"> diff --git a/src/main/java/org/apache/commons/dbcp2/Jdbc41Bridge.java b/src/main/java/org/apache/commons/dbcp2/Jdbc41Bridge.java index 586271d..462b711 100644 --- a/src/main/java/org/apache/commons/dbcp2/Jdbc41Bridge.java +++ b/src/main/java/org/apache/commons/dbcp2/Jdbc41Bridge.java @@ -304,7 +304,7 @@ public class Jdbc41Bridge { return (T) resultSet.getURL(columnLabel); } throw new SQLFeatureNotSupportedException( - String.format("resultSet=%s, columnLabel=%,d, type=%s", resultSet, columnLabel, type)); + String.format("resultSet=%s, columnLabel=%s, type=%s", resultSet, columnLabel, type)); } }