You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by bp...@apache.org on 2016/07/31 19:25:28 UTC
svn commit: r1754680 -
/db/derby/code/trunk/java/engine/org/apache/derby/jdbc/AutoloadedDriver.java
Author: bpendleton
Date: Sun Jul 31 19:25:28 2016
New Revision: 1754680
URL: http://svn.apache.org/viewvc?rev=1754680&view=rev
Log:
DERBY-6752: Derby tries to load non-existent class AutoloadedDriver40
This patch was contributed by Danoja Dias (danojadias at gmail dot com)
This patch removes the code that tries to load AutoloadedDriver40. That code
was always failing, because the class was removed from the Derby code by
revision 1494482, but the attempt to load the class was wrapped in an
exception catch block so there were no symptoms of the failed class load
attempt.
Modified:
db/derby/code/trunk/java/engine/org/apache/derby/jdbc/AutoloadedDriver.java
Modified: db/derby/code/trunk/java/engine/org/apache/derby/jdbc/AutoloadedDriver.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/jdbc/AutoloadedDriver.java?rev=1754680&r1=1754679&r2=1754680&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/jdbc/AutoloadedDriver.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/jdbc/AutoloadedDriver.java Sun Jul 31 19:25:28 2016
@@ -78,18 +78,7 @@ public class AutoloadedDriver implements
static
{
- try {
- //
- // We'd rather load this slightly more capable driver.
- // But if the vm level doesn't support it, then we fall
- // back on the JDBC3 level driver.
- //
- Class.forName( "org.apache.derby.jdbc.AutoloadedDriver40" );
- }
- catch (Throwable e)
- {
registerMe( new AutoloadedDriver() );
- }
}
protected static void registerMe( AutoloadedDriver me )