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 c48baa239e Fix back-port
c48baa239e is described below

commit c48baa239eb21b4c3048d12c708d714d523f1de0
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Nov 3 18:35:41 2026 +0000

    Fix back-port
---
 test/org/apache/tomcat/util/modeler/TestRegistry.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/tomcat/util/modeler/TestRegistry.java 
b/test/org/apache/tomcat/util/modeler/TestRegistry.java
index 2026e42a38..d9a582c437 100644
--- a/test/org/apache/tomcat/util/modeler/TestRegistry.java
+++ b/test/org/apache/tomcat/util/modeler/TestRegistry.java
@@ -36,7 +36,7 @@ import org.junit.Test;
 
 public class TestRegistry {
 
-    private static final String PACKAGE = TestRegistry.class.getPackageName();
+    private static final String PACKAGE = 
TestRegistry.class.getPackage().getName();
     private static final String TYPE = TesterBean.class.getName();
     private static final byte[] XML = ("<mbeans-descriptors><mbean 
name=\"ConcurrentBean\" type=\"" + TYPE +
             "\" description=\"XML 
descriptor\"/></mbeans-descriptors>").getBytes(StandardCharsets.UTF_8);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to