Chia-Ping Tsai created KAFKA-17269: -------------------------------------- Summary: 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: Chia-Ping Tsai
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)