This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 75146202a1 This works on Linux and Windows
75146202a1 is described below
commit 75146202a1a2a8368d2f590a862a90e480d9505f
Author: Mark Thomas <[email protected]>
AuthorDate: Tue May 10 19:44:22 2022 +0100
This works on Linux and Windows
---
test/org/apache/tomcat/util/net/jsse/TestPEMFile.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/org/apache/tomcat/util/net/jsse/TestPEMFile.java
b/test/org/apache/tomcat/util/net/jsse/TestPEMFile.java
index 5ff2ef358d..bfce46067b 100644
--- a/test/org/apache/tomcat/util/net/jsse/TestPEMFile.java
+++ b/test/org/apache/tomcat/util/net/jsse/TestPEMFile.java
@@ -79,7 +79,7 @@ public class TestPEMFile {
private String getPath(String file) throws URISyntaxException, IOException
{
String packageName = this.getClass().getPackage().getName();
- String path = packageName.replaceAll("\\.", File.separator);
+ String path = packageName.replace(".", File.separator);
File f = new File("test" + File.separator + path + File.separator +
file);
return f.getCanonicalPath();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]