This is an automated email from the ASF dual-hosted git repository. mjsax pushed a commit to branch 3.8 in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/3.8 by this push: new d64e8f39e17 HOTIFX: fix broken build d64e8f39e17 is described below commit d64e8f39e1714aeccb8700022f7c621d877cccc5 Author: Matthias J. Sax <matth...@confluent.io> AuthorDate: Wed Jan 15 10:32:47 2025 -0800 HOTIFX: fix broken build List.of is not supported in Java8. --- clients/src/test/java/org/apache/kafka/clients/ClientUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/src/test/java/org/apache/kafka/clients/ClientUtilsTest.java b/clients/src/test/java/org/apache/kafka/clients/ClientUtilsTest.java index 75deabc3697..69a3a46fb58 100644 --- a/clients/src/test/java/org/apache/kafka/clients/ClientUtilsTest.java +++ b/clients/src/test/java/org/apache/kafka/clients/ClientUtilsTest.java @@ -61,7 +61,7 @@ public class ClientUtilsTest { assertFalse(validatedAddresses.isEmpty(), "Unexpected addresses " + validatedAddresses); List<String> validatedHostNames = validatedAddresses.stream().map(InetSocketAddress::getHostName) .collect(Collectors.toList()); - List<String> expectedHostNames = List.of( + List<String> expectedHostNames = asList( "a23-215-0-136.deploy.static.akamaitechnologies.com", "a23-192-228-84.deploy.static.akamaitechnologies.com", "a23-215-0-138.deploy.static.akamaitechnologies.com",