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 8f3becf09b Review "Remove stray raw path entry added to the WebSocket 
template..."
8f3becf09b is described below

commit 8f3becf09be74a64130cf0565743abda1b9f66fa
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Nov 5 10:16:07 2026 +0000

    Review "Remove stray raw path entry added to the WebSocket template..."
    
    Use correct classed in error message
---
 java/org/apache/tomcat/websocket/server/WsServerContainer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/websocket/server/WsServerContainer.java 
b/java/org/apache/tomcat/websocket/server/WsServerContainer.java
index ab2debc4cd..9991e69d98 100644
--- a/java/org/apache/tomcat/websocket/server/WsServerContainer.java
+++ b/java/org/apache/tomcat/websocket/server/WsServerContainer.java
@@ -184,7 +184,7 @@ public class WsServerContainer extends WsWebSocketContainer 
implements ServerCon
                     } else {
                         // Duplicate uriTemplate;
                         throw new 
DeploymentException(sm.getString("serverContainer.duplicatePaths", path,
-                                sec.getEndpointClass(), 
sec.getEndpointClass()));
+                                oldMatch.config.getEndpointClass(), 
sec.getEndpointClass()));
                     }
                 }
             } else {


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

Reply via email to