Locks should be outside try/catch/finally block.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1581570 13f79535-47bb-0310-9956-ffa450edef68
Try with resources for javax.*

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

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1581573 13f79535-47bb-0310-9956-ffa450edef68
Lock outside try/catch/finally

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1581574 13f79535-47bb-0310-9956-ffa450edef68
Lock ouside try/catch/finally

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1581575 13f79535-47bb-0310-9956-ffa450edef68
Lock outside try/catch/finally

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

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

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

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

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

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

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1581582 13f79535-47bb-0310-9956-ffa450edef68
Code review
- lock outside try/catch/finally

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1581597 13f79535-47bb-0310-9956-ffa450edef68
Code review
- use multicatch to reduce code duplication
- use Util.handleThrowable() to reduce code duplication

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

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