[
https://issues.apache.org/jira/browse/KAFKA-17269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-17269.
------------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
> Fix ConcurrentModificationException caused by NioEchoServer.closeNewChannels
> ----------------------------------------------------------------------------
>
> Key: KAFKA-17269
> URL: https://issues.apache.org/jira/browse/KAFKA-17269
> Project: Kafka
> Issue Type: Test
> Reporter: Chia-Ping Tsai
> Assignee: bboyleonp
> Priority: Minor
> Fix For: 4.0.0
>
>
> see CI:
> https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-16795/1/tests
> `newChannels` is a SYNC ArrayList, however, the helper method does not
> protect "iteration". Hence, we should add `synchronized (newChannels)` for it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)