fgdrf commented on pull request #38: URL: https://github.com/apache/commons-dbcp/pull/38#issuecomment-829880497
> > > Well, since we cannot get rid of the method within a major release, we need to workaround that by perhaps making it return always null but only when publishing an implementation as a JMX object, which might mean creating a wrapper class that delegates all methods except getPassword(). How about creating a new interface, e.g. `IDataSourcePassword `is implemented by `BasicDataSource` and `getPassword()` method moves from `BasicDataSourceMXBean` to `IDataSourcePassword `. Going to update this pull request with this approach ;) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
