This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 8e2a2d621b Fix oops with the log test
8e2a2d621b is described below
commit 8e2a2d621b23d8b11dc86d4fa18f5c8fbbd719ed
Author: remm <[email protected]>
AuthorDate: Tue Feb 11 12:00:13 2025 +0100
Fix oops with the log test
---
test/org/apache/juli/TestJsonFormatter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/org/apache/juli/TestJsonFormatter.java
b/test/org/apache/juli/TestJsonFormatter.java
index 9114556ad9..5bb7d9dae1 100644
--- a/test/org/apache/juli/TestJsonFormatter.java
+++ b/test/org/apache/juli/TestJsonFormatter.java
@@ -51,7 +51,7 @@ public class TestJsonFormatter {
LinkedHashMap<String,Object> json = parser.object();
Assert.assertEquals(json.get("method"), "testFormat");
@SuppressWarnings("unchecked")
- ArrayList<Object> trace = (ArrayList<Object>) json.get("trace");
+ ArrayList<Object> trace = (ArrayList<Object>) json.get("throwable");
Assert.assertEquals(trace.get(0), "java.lang.IllegalStateException:
Bad state");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]