Michal Walenia created BEAM-6705:
------------------------------------
Summary: ConcurrentModificationException in ParDoSchemaTest
Key: BEAM-6705
URL: https://issues.apache.org/jira/browse/BEAM-6705
Project: Beam
Issue Type: Sub-task
Components: runner-direct
Reporter: Michal Walenia
Assignee: Michal Walenia
When ran with Java 11, ParDoSchemaTest.testReadAndWriteMultiOutput,
testReadAndWrite and testReadAndWriteWithSchemaRegistry
produce ConcurrentModificationExceptions.
This is due to change in HashMap.computeIfAbsent method specification:
{quote}Throws:{{[ConcurrentModificationException|https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ConcurrentModificationException.html]}}
- if it is detected that the mapping function modified this map
{quote}
[Full documentation
here|https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/HashMap.html#computeIfAbsent(K,java.util.function.Function)]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)