Don't use Java 7 API in unit tests

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1622324 13f79535-47bb-0310-9956-ffa450edef68
Don't trigger re-authentication for webapps that don't need it.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1622328 13f79535-47bb-0310-9956-ffa450edef68
Merged revision 1622312 from tomcat/trunk:
Fix some potential resource leaks when reading files and other resources. Reported by Coverity Scan.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1622344 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56908
Merged revision 1622342 from tomcat/trunk:
Fix some potential resource leaks when reading jar files. Reported by Coverity Scan. Based on patch provided by Felix Schumacher.

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