jdbc-pool tests need JUnit 4. Use the same version of junit as used by Tomcat.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1459673 13f79535-47bb-0310-9956-ffa450edef68
Add NPE protection and add missing filtering of POJOs.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1459677 13f79535-47bb-0310-9956-ffa450edef68
Make error messages rather more useful

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1459680 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54599
jdbc-pool: Do not expose connection password via DataSource.toString().
Based on a patch by Daniel Mikusa

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1459681 13f79535-47bb-0310-9956-ffa450edef68