You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2020/09/17 10:59:21 UTC

[commons-dbcp] branch master updated: BasicDataSource - remove obsolete inner-class reference

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git


The following commit(s) were added to refs/heads/master by this push:
     new c230a11  BasicDataSource - remove obsolete inner-class reference
     new 7ea201a  Merge pull request #63 from sehaas/fix_BasicDataSource_SecurityManager
c230a11 is described below

commit c230a113e31b0f6d32630a88e10a1d29c8e9bf43
Author: Sebastian Haas <sh...@silbergrau.com>
AuthorDate: Thu Sep 17 10:34:21 2020 +0200

    BasicDataSource - remove obsolete inner-class reference
    
    remove reference of PaGetConnection during initializing secure context
---
 src/main/java/org/apache/commons/dbcp2/BasicDataSource.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java b/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
index b81a45a..b6423d1 100644
--- a/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
+++ b/src/main/java/org/apache/commons/dbcp2/BasicDataSource.java
@@ -76,7 +76,6 @@ public class BasicDataSource implements DataSource, BasicDataSourceMXBean, MBean
             if (Utils.IS_SECURITY_ENABLED) {
                 final ClassLoader loader = BasicDataSource.class.getClassLoader();
                 final String dbcpPackageName = BasicDataSource.class.getPackage().getName();
-                loader.loadClass(dbcpPackageName + ".BasicDataSource$PaGetConnection");
                 loader.loadClass(dbcpPackageName + ".DelegatingCallableStatement");
                 loader.loadClass(dbcpPackageName + ".DelegatingDatabaseMetaData");
                 loader.loadClass(dbcpPackageName + ".DelegatingPreparedStatement");