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 c1a34719ce Fix backport
c1a34719ce is described below
commit c1a34719ce8ce4e67f75cbf36e9c1719f3c1d11a
Author: Mark Thomas <[email protected]>
AuthorDate: Tue May 10 18:21:05 2022 +0100
Fix backport
---
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 620d16947e..5ff2ef358d 100644
--- a/test/org/apache/tomcat/util/net/jsse/TestPEMFile.java
+++ b/test/org/apache/tomcat/util/net/jsse/TestPEMFile.java
@@ -78,7 +78,7 @@ public class TestPEMFile {
private String getPath(String file) throws URISyntaxException, IOException
{
- String packageName = this.getClass().getPackageName();
+ String packageName = this.getClass().getPackage().getName();
String path = packageName.replaceAll("\\.", File.separator);
File f = new File("test" + File.separator + path + File.separator +
file);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]