commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DBCP-314) Hidden fields can cause problems when code is updated
Date Mon, 15 Feb 2010 01:47:28 GMT

     [ https://issues.apache.org/jira/browse/DBCP-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phil Steitz closed DBCP-314.
----------------------------


> Hidden fields can cause problems when code is updated
> -----------------------------------------------------
>
>                 Key: DBCP-314
>                 URL: https://issues.apache.org/jira/browse/DBCP-314
>             Project: Commons Dbcp
>          Issue Type: Bug
>            Reporter: Sebb
>            Priority: Minor
>
> There are quite a few instances of fields that are hidden (masked) by local variables
or parameters.
> This is a potential source of bugs, as the hidden field can be accidentally revealed
and used when code is updated.
> The classes that currently contain such code are:
> LocalXAConnectionFactory - 6 instances
> InstanceKeyDataSource
> DriverAdapterCPDS
> PoolingDataSource
> BasicDataSource - 2 instances
> AbandonedTrace - 2 instances
> BasicDataSource

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message