This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 65d0ce4797 Fix test failure on Windows
65d0ce4797 is described below
commit 65d0ce47972fcafc8d12c28088138a25123043ba
Author: Administrator <[email protected]>
AuthorDate: Fri Jun 19 17:02:30 2026 +0100
Fix test failure on Windows
---
test/org/apache/catalina/util/TestServerInfo.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/org/apache/catalina/util/TestServerInfo.java
b/test/org/apache/catalina/util/TestServerInfo.java
index 3c35308869..fda6edbeb9 100644
--- a/test/org/apache/catalina/util/TestServerInfo.java
+++ b/test/org/apache/catalina/util/TestServerInfo.java
@@ -289,7 +289,7 @@ public class TestServerInfo {
Assume.assumeTrue("APR not available",
AprLifecycleListener.isAprAvailable());
// Verify version info format (should contain version numbers)
- String[] lines = output.split("\n");
+ String[] lines = output.split(System.lineSeparator());
boolean foundAprVersion = false;
boolean foundTcnVersion = false;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]