This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 6a1c09c418 Avoid problems if building with Java 19 with Loom enabled
6a1c09c418 is described below
commit 6a1c09c41872f853cea3c9b9d9216bf7e55ad73e
Author: Mark Thomas <[email protected]>
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 26acf8337b..80b4045bda 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 jakarta.websocket.ClientEndpointConfig.Builder;
import jakarta.websocket.ContainerProvider;
import jakarta.websocket.DeploymentException;
import jakarta.websocket.WebSocketContainer;
@@ -96,7 +95,7 @@ public class TestConnectionLimit extends TomcatBaseTest {
try {
while (true) {
wsContainer.connectToServer(TesterProgrammaticEndpoint.class,
- Builder.create().build(), uri);
+
jakarta.websocket.ClientEndpointConfig.Builder.create().build(), uri);
count = counter.incrementAndGet();
if (count % 100 == 0) {
System.out.println(count + " and counting...");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]