You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/09/28 13:29:36 UTC
[tomcat] branch 10.0.x updated: Avoid problems if building with Java 19 with Loom enabled
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 4c92c36079 Avoid problems if building with Java 19 with Loom enabled
4c92c36079 is described below
commit 4c92c36079b1d35e930085af59f407e2119ad141
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 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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org