You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Tushar Gosavi (JIRA)" <ji...@apache.org> on 2017/03/14 12:30:41 UTC

[jira] [Resolved] (APEXCORE-617) InputNodeTest intermittently fails with ConcurrentModificationException

     [ https://issues.apache.org/jira/browse/APEXCORE-617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tushar Gosavi resolved APEXCORE-617.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.6.0

> InputNodeTest intermittently fails with ConcurrentModificationException
> -----------------------------------------------------------------------
>
>                 Key: APEXCORE-617
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-617
>             Project: Apache Apex Core
>          Issue Type: Bug
>            Reporter: Vlad Rozov
>            Assignee: Vlad Rozov
>            Priority: Minor
>             Fix For: 3.6.0
>
>
> InputNodeTest.emitTestHelper uses deprecated inherently unsafe Thread.stop(). Thread.stop() does not immediately stops the thread, the JVM waits for a safepoint to raise ThreadDeath exception on the target thread. This leads to a race condition and possible ConcurrentModificationException.   



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)