Source compatibility report for the DBCP library between 2.2.0.1 and 2.2.1 versions
Test Info
Library Name | DBCP |
Version #1 | 2.2.0.1 |
Version #2 | 2.2.1 |
Test Results
Total Java ARchives | 1 |
---|
Total Methods / Classes | 1361 / 59 |
---|
Verdict | Incompatible (7.9%) |
Problem Summary
| Severity | Count |
---|
Added Methods | - | 21 |
---|
Removed Methods | High | 0 |
---|
Problems with Data Types | High | 4 |
---|
Medium | 0 |
Low | 0 |
Problems with Methods | High | 0 |
---|
Medium | 0 |
Low | 0 |
Added Methods (21)
commons-dbcp2-2.1.jar, BasicDataSource.class
package org.apache.commons.dbcp2
BasicDataSource.getDisconnectionSqlCodes ( ) : Set
[mangled: org/apache/commons/dbcp2/BasicDataSource.getDisconnectionSqlCodes:()Ljava/util/Set;]
BasicDataSource.getDisconnectionSqlCodesAsArray ( ) : String[ ]
[mangled: org/apache/commons/dbcp2/BasicDataSource.getDisconnectionSqlCodesAsArray:()[Ljava/lang/String;]
BasicDataSource.getFastFailValidation ( ) : boolean
[mangled: org/apache/commons/dbcp2/BasicDataSource.getFastFailValidation:()Z]
BasicDataSource.getLogExpiredConnections ( ) : boolean
[mangled: org/apache/commons/dbcp2/BasicDataSource.getLogExpiredConnections:()Z]
BasicDataSource.invalidateConnection ( Connection connection ) : void
[mangled: org/apache/commons/dbcp2/BasicDataSource.invalidateConnection:(Ljava/sql/Connection;)V]
BasicDataSource.setDisconnectionSqlCodes ( Collection disconnectionSqlCodes ) : void
[mangled: org/apache/commons/dbcp2/BasicDataSource.setDisconnectionSqlCodes:(Ljava/util/Collection;)V]
BasicDataSource.setFastFailValidation ( boolean fastFailValidation ) : void
[mangled: org/apache/commons/dbcp2/BasicDataSource.setFastFailValidation:(Z)V]
BasicDataSource.setLogExpiredConnections ( boolean logExpiredConnections ) : void
[mangled: org/apache/commons/dbcp2/BasicDataSource.setLogExpiredConnections:(Z)V]
commons-dbcp2-2.1.jar, BasicDataSourceMXBean.class
package org.apache.commons.dbcp2
BasicDataSourceMXBean.getDisconnectionSqlCodesAsArray ( ) [abstract] : String[ ]
[mangled: org/apache/commons/dbcp2/BasicDataSourceMXBean.getDisconnectionSqlCodesAsArray:()[Ljava/lang/String;]
BasicDataSourceMXBean.getFastFailValidation ( ) [abstract] : boolean
[mangled: org/apache/commons/dbcp2/BasicDataSourceMXBean.getFastFailValidation:()Z]
BasicDataSourceMXBean.getLogExpiredConnections ( ) [abstract] : boolean
[mangled: org/apache/commons/dbcp2/BasicDataSourceMXBean.getLogExpiredConnections:()Z]
commons-dbcp2-2.1.jar, PoolableConnection.class
package org.apache.commons.dbcp2
PoolableConnection.handleException ( SQLException e ) : void
[mangled: org/apache/commons/dbcp2/PoolableConnection.handleException:(Ljava/sql/SQLException;)V]
PoolableConnection.PoolableConnection ( Connection conn, ObjectPool pool, ObjectName jmxName, Collection disconnectSqlCodes, boolean fastFailValidation )
[mangled: org/apache/commons/dbcp2/PoolableConnection."<init>":(Ljava/sql/Connection;Lorg/apache/commons/pool2/ObjectPool;Ljavax/management/ObjectName;Ljava/util/Collection;Z)V]
commons-dbcp2-2.1.jar, PoolableConnectionFactory.class
package org.apache.commons.dbcp2
PoolableConnectionFactory.getConnectionIndex ( ) : AtomicLong
[mangled: org/apache/commons/dbcp2/PoolableConnectionFactory.getConnectionIndex:()Ljava/util/concurrent/atomic/AtomicLong;]
PoolableConnectionFactory.getDataSourceJmxName ( ) : ObjectName
[mangled: org/apache/commons/dbcp2/PoolableConnectionFactory.getDataSourceJmxName:()Ljavax/management/ObjectName;]
PoolableConnectionFactory.getDisconnectionSqlCodes ( ) : Collection
[mangled: org/apache/commons/dbcp2/PoolableConnectionFactory.getDisconnectionSqlCodes:()Ljava/util/Collection;]
PoolableConnectionFactory.isFastFailValidation ( ) : boolean
[mangled: org/apache/commons/dbcp2/PoolableConnectionFactory.isFastFailValidation:()Z]
PoolableConnectionFactory.setDisconnectionSqlCodes ( Collection disconnectionSqlCodes ) : void
[mangled: org/apache/commons/dbcp2/PoolableConnectionFactory.setDisconnectionSqlCodes:(Ljava/util/Collection;)V]
PoolableConnectionFactory.setFastFailValidation ( boolean fastFailValidation ) : void
[mangled: org/apache/commons/dbcp2/PoolableConnectionFactory.setFastFailValidation:(Z)V]
commons-dbcp2-2.1.jar, PoolingDataSource.class
package org.apache.commons.dbcp2
PoolingDataSource.close ( ) : void
[mangled: org/apache/commons/dbcp2/PoolingDataSource.close:()V]
commons-dbcp2-2.1.jar, SwallowedExceptionLogger.class
package org.apache.commons.dbcp2
SwallowedExceptionLogger.SwallowedExceptionLogger ( Log log, boolean logExpiredConnections )
[mangled: org/apache/commons/dbcp2/SwallowedExceptionLogger."<init>":(Lorg/apache/commons/logging/Log;Z)V]
to the top
Problems with Data Types, High Severity (4)
commons-dbcp2-2.0.1.jar
package org.apache.commons.dbcp2
[+] BasicDataSourceMXBean (3)
| Change | Effect |
---|
1 | Abstract method getDisconnectionSqlCodesAsArray ( ) has been added to this interface. | Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method getDisconnectionSqlCodesAsArray() in BasicDataSourceMXBean. |
2 | Abstract method getFastFailValidation ( ) has been added to this interface. | Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method getFastFailValidation() in BasicDataSourceMXBean. |
3 | Abstract method getLogExpiredConnections ( ) has been added to this interface. | Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method getLogExpiredConnections() in BasicDataSourceMXBean. |
[+] affected methods (37)
getAbandonedUsageTracking ( )This abstract method is from 'BasicDataSourceMXBean' interface.
getCacheState ( )This abstract method is from 'BasicDataSourceMXBean' interface.
getConnectionInitSqlsAsArray ( )This abstract method is from 'BasicDataSourceMXBean' interface.
getDefaultAutoCommit ( )This abstract method is from 'BasicDataSourceMXBean' interface.
getDefaultCatalog ( )This abstract method is from 'BasicDataSourceMXBean' interface.
getDefaultReadOnly ( )This abstract method is from 'BasicDataSourceMXBean' interface.
getDefaultTransactionIsolation ( )This abstract method is from 'BasicDataSourceMXBean' interface.
getDriverClassName ( )This abstract method is from 'BasicDataSourceMXBean' interface.
getInitialSize ( )This abstract method is from 'BasicDataSourceMXBean' interface.
getLifo ( )This abstract method is from 'BasicDataSourceMXBean' interface.
getLogAbandoned ( )This abstract method is from 'BasicDataSourceMXBean' interface.
getMaxConnLifetimeMillis ( )This abstract method is from 'BasicDataSourceMXBean' interface.
...
package org.apache.commons.dbcp2.datasources
[+] InstanceKeyDataSource (1)
| Change | Effect |
---|
1 | Added super-interface java.lang.AutoCloseable. | Recompilation of a client program may be terminated with the message: a client class C is not abstract and does not override abstract method in InstanceKeyDataSource. |
[+] affected methods (71)
InstanceKeyDataSource ( )This constructor is from 'InstanceKeyDataSource' abstract class.
assertInitializationAllowed ( )This method is from 'InstanceKeyDataSource' abstract class.
close ( )This abstract method is from 'InstanceKeyDataSource' abstract class.
getConnection ( )This method is from 'InstanceKeyDataSource' abstract class.
getConnection ( String, String )This method is from 'InstanceKeyDataSource' abstract class.
getConnectionManager ( UserPassKey )This abstract method is from 'InstanceKeyDataSource' abstract class.
getConnectionPoolDataSource ( )This method is from 'InstanceKeyDataSource' abstract class.
getDataSourceName ( )This method is from 'InstanceKeyDataSource' abstract class.
getDefaultBlockWhenExhausted ( )This method is from 'InstanceKeyDataSource' abstract class.
getDefaultEvictionPolicyClassName ( )This method is from 'InstanceKeyDataSource' abstract class.
getDefaultLifo ( )This method is from 'InstanceKeyDataSource' abstract class.
getDefaultMaxIdle ( )This method is from 'InstanceKeyDataSource' abstract class.
...
to the top
Java ARchives (1)
commons-dbcp2-2.0.1.jar
to the top