This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new fbcae901cf Fix failing test. RequestFacade has been updated to throw
ISE not NPE
fbcae901cf is described below
commit fbcae901cf9ebc6f79fc0ae5bdf6bd72224f1e36
Author: Mark Thomas <[email protected]>
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 1af3847812..14a10525ab 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: [email protected]
For additional commands, e-mail: [email protected]