This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 380cd835e9 Java compat
380cd835e9 is described below
commit 380cd835e99494d3977a43ce1b9613015dd7dbfb
Author: remm <[email protected]>
AuthorDate: Tue Jun 2 17:07:31 2026 +0200
Java compat
---
java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java
b/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java
index 5ec86fa57e..1e3782063f 100644
--- a/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java
+++ b/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java
@@ -844,9 +844,9 @@ public abstract class WsRemoteEndpointImplBase implements
RemoteEndpoint {
entry.getEncoder().destroy();
if (instanceManager != null) {
try {
- instanceManager.destroyInstance(entry.encoder());
+ instanceManager.destroyInstance(entry.getEncoder());
} catch (IllegalAccessException | InvocationTargetException e)
{
-
log.warn(sm.getString("wsRemoteEndpoint.encoderDestroyFailed", entry.clazz()),
e);
+
log.warn(sm.getString("wsRemoteEndpoint.encoderDestroyFailed",
entry.getClazz()), e);
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]