You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/05/10 17:21:29 UTC

[tomcat] branch 9.0.x updated: Fix backport

This is an automated email from the ASF dual-hosted git repository.

markt 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 18dd6259a9 Fix backport
18dd6259a9 is described below

commit 18dd6259a931d5f70034a812c38607248f1302e7
Author: Mark Thomas <ma...@apache.org>
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org