This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 6e02e74c7b Fix test failure on Windows
6e02e74c7b is described below
commit 6e02e74c7b6c3f0d1a4975855d91a9891b407ed8
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 968d0a7e9f..5eb3f5b676 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]