Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56461
New option to make context startup fail if a load-on-startup servlet fails

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1595690 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56399
Improve implementation of CoyoteAdapter.checkRecycled() to do not use an exception for flow control.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1595887 13f79535-47bb-0310-9956-ffa450edef68
Code clean-up. No functional change.
Merge exception handling blocks were code is identical.
Spotted while reviewing use of ExceptionUtils.unwrapInvocationTargetException()

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1595893 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56446
Clearer handling of exceptions when calling a method on a POJO based WebSocket endpoint. Based on a suggestion by Eugene Chung.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1595898 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56387
Refactor handling of class loading attempts after web application stop.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1596004 13f79535-47bb-0310-9956-ffa450edef68
Follow up to r1596004. Actually throw the exception.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1596065 13f79535-47bb-0310-9956-ffa450edef68
svn:eol-style=native

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

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1596088 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56546
Reduce logging level for stack traces from SEVERE to INFO.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1596090 13f79535-47bb-0310-9956-ffa450edef68
Partial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=56545
Pre-load an additional class if running under a security manager 

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1596141 13f79535-47bb-0310-9956-ffa450edef68
FindBugs.
Remove unnecessary null check

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1596152 13f79535-47bb-0310-9956-ffa450edef68
Experiment with the Simbian duplicate code detection tool.
Remove 100+ lines of duplicate code

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1596186 13f79535-47bb-0310-9956-ffa450edef68
FindBugs
setup() vs setUp()

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

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

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1596198 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56545
Pre-load two more classes to avoid exceptions when running under a security manager

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1596201 13f79535-47bb-0310-9956-ffa450edef68
Further simplify the code
Merge two try/catch inside two branches of if/else.
factoryClass cannot be null after loadClass()/Class.forName() calls.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1596217 13f79535-47bb-0310-9956-ffa450edef68
Improve handling of Throwable. Add changelog entry.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1596226 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56543
Update JDT to 4.4.RC1

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1596227 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56521
Implement a TODO
Reuse the async write buffer between writes to reduce allocation and GC overhead. Based on a patch by leonzhx.
Also:
 - don't re-allocate the buffer / move the data in the buffer if the buffer is partially written on a subsequent write
 - make the buffer size configurable, defaulting to 8k

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