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:35:09 UTC

[tomcat] branch 9.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 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 54c352ee47 Avoid problems if building with Java 19 with Loom enabled
54c352ee47 is described below

commit 54c352ee474dd4e769a360b611cdd77b4fd820e1
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org