You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "Dale LaBossiere (JIRA)" <ji...@apache.org> on 2018/01/02 18:28:00 UTC

[jira] [Closed] (EDGENT-429) JobMonitorApp.closeJob() doesn't wait for close

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

Dale LaBossiere closed EDGENT-429.
----------------------------------
       Resolution: Fixed
    Fix Version/s: Apache Edgent 1.2.0

> JobMonitorApp.closeJob() doesn't wait for close
> -----------------------------------------------
>
>                 Key: EDGENT-429
>                 URL: https://issues.apache.org/jira/browse/EDGENT-429
>             Project: Edgent
>          Issue Type: Bug
>          Components: Runtime
>            Reporter: Dale LaBossiere
>            Assignee: Christofer Dutz
>            Priority: Minor
>             Fix For: Apache Edgent 1.2.0
>
>
> The wait loop in closeJob() never runs because "waitForMillis < 0;" is the opposite of what's needed.  The result can be premature / inaccurate IllegalStateExceptions.
> Detected by SonarQube and fixed in the maven/PR-309 work.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)