This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new 9a1890f959 Fix failing test. RequestFacade has been updated to throw ISE not NPE 9a1890f959 is described below commit 9a1890f959144fb98dfe56aa6b30c4744e753058 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Feb 17 14:58:36 2023 +0000 Fix failing test. RequestFacade has been updated to throw ISE not NPE --- test/org/apache/catalina/core/TestAsyncContextImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/org/apache/catalina/core/TestAsyncContextImpl.java b/test/org/apache/catalina/core/TestAsyncContextImpl.java index d3e3a41fd4..79c22f3b7e 100644 --- a/test/org/apache/catalina/core/TestAsyncContextImpl.java +++ b/test/org/apache/catalina/core/TestAsyncContextImpl.java @@ -377,7 +377,7 @@ public class TestAsyncContextImpl extends TomcatBaseTest { // really checking here is that it does not // return true. result.append(req.isAsyncStarted()); - } catch (NullPointerException npe) { + } catch (IllegalStateException ise) { result.append("false"); } done = true; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org