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

rainerjung 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 69787a936c TC 9 implements javax instead of jakarta
69787a936c is described below

commit 69787a936c75d0c337c206a8d426a4fe26df60ab
Author: Rainer Jung <[email protected]>
AuthorDate: Fri May 22 23:21:32 2026 +0200

    TC 9 implements javax instead of jakarta
---
 test/org/apache/catalina/util/TestServerInfo.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/org/apache/catalina/util/TestServerInfo.java 
b/test/org/apache/catalina/util/TestServerInfo.java
index 5e4a8315fe..cfd837e04a 100644
--- a/test/org/apache/catalina/util/TestServerInfo.java
+++ b/test/org/apache/catalina/util/TestServerInfo.java
@@ -96,11 +96,11 @@ public class TestServerInfo {
      * @throws Exception if the test experiences an unexpected error
      */
     @Test
-    public void testIsTomcatCoreJarWithJakartaSymbolicName() throws Exception {
-        withTestJar("test-jakarta-api.jar", manifest -> {
+    public void testIsTomcatCoreJarWithJavaxSymbolicName() throws Exception {
+        withTestJar("test-javax-api.jar", manifest -> {
             manifest.getMainAttributes().put(Attributes.Name.MANIFEST_VERSION, 
"1.0");
-            manifest.getMainAttributes().putValue("Bundle-SymbolicName", 
"jakarta.servlet.api");
-        }, jar -> Assert.assertTrue("Should identify jakarta.* as core JAR",
+            manifest.getMainAttributes().putValue("Bundle-SymbolicName", 
"javax.servlet.api");
+        }, jar -> Assert.assertTrue("Should identify javax.* as core JAR",
                 invokeIsTomcatCoreJar(jar)));
     }
 


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

Reply via email to