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

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 953a876c62 Avoid problems if building with Java 19 with Loom enabled
953a876c62 is described below

commit 953a876c625b8037a62ff98211a9fcf2272a32e9
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Sep 28 14:26:04 2022 +0100

    Avoid problems if building with Java 19 with Loom enabled
---
 test/org/apache/tomcat/websocket/TestConnectionLimit.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/org/apache/tomcat/websocket/TestConnectionLimit.java 
b/test/org/apache/tomcat/websocket/TestConnectionLimit.java
index 5d966e2f7b..e4eb14d57e 100644
--- a/test/org/apache/tomcat/websocket/TestConnectionLimit.java
+++ b/test/org/apache/tomcat/websocket/TestConnectionLimit.java
@@ -20,7 +20,6 @@ import java.io.IOException;
 import java.net.URI;
 import java.util.concurrent.atomic.AtomicInteger;
 
-import javax.websocket.ClientEndpointConfig.Builder;
 import javax.websocket.ContainerProvider;
 import javax.websocket.DeploymentException;
 import javax.websocket.WebSocketContainer;
@@ -96,7 +95,7 @@ public class TestConnectionLimit extends TomcatBaseTest {
             try {
                 while (true) {
                     
wsContainer.connectToServer(TesterProgrammaticEndpoint.class,
-                            Builder.create().build(), uri);
+                            
javax.websocket.ClientEndpointConfig.Builder.create().build(), uri);
                     count = counter.incrementAndGet();
                     if (count % 100 == 0) {
                         System.out.println(count + " and counting...");


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to