You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Michal Walenia (JIRA)" <ji...@apache.org> on 2019/02/18 12:49:00 UTC

[jira] [Created] (BEAM-6705) ConcurrentModificationException in ParDoSchemaTest

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)