Modified:
branches/branch_5_1/src/com/mysql/jdbc/SQLError.java
Log:
Added missing argument to CommunicationsException constructor when loading reflectively (for JDBC4 support).
Modified: branches/branch_5_1/src/com/mysql/jdbc/SQLError.java
===================================================================
--- branches/branch_5_1/src/com/mysql/jdbc/SQLError.java 2008-02-27 04:30:46 UTC (rev 6737)
+++ branches/branch_5_1/src/com/mysql/jdbc/SQLError.java 2008-02-27 04:52:31 UTC (rev 6738)
@@ -154,7 +154,7 @@
JDBC_4_COMMUNICATIONS_EXCEPTION_CTOR = Class.forName(
"com.mysql.jdbc.exceptions.jdbc4.CommunicationsException")
.getConstructor(
- new Class[] { ConnectionImpl.class, Long.TYPE, Exception.class });
+ new Class[] { ConnectionImpl.class, Long.TYPE, Long.TYPE, Exception.class });
} catch (SecurityException e) {
throw new RuntimeException(e);
} catch (NoSuchMethodException e) {
| Thread |
|---|
| • Connector/J commit: r6738 - branches/branch_5_1/src/com/mysql/jdbc | mmatthews | 27 Feb |