labs-labs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier Puerto (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LABS-137) Concurrency error in the simple queue implementation
Date Thu, 24 Jul 2008 11:51:33 GMT

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

Javier Puerto updated LABS-137:
-------------------------------

    Attachment: fix

Sugested fix.

> Concurrency error in the simple queue implementation
> ----------------------------------------------------
>
>                 Key: LABS-137
>                 URL: https://issues.apache.org/jira/browse/LABS-137
>             Project: Labs
>          Issue Type: Bug
>          Components: Droids
>         Environment: All
>            Reporter: Javier Puerto
>            Priority: Blocker
>         Attachments: fix
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The method in Simple.merge(Task[]) had a mistake and sometimes could generate a NPE.
> Change the class to be more clear. Eliminate all the synchronized methods and implements
the "allTask" list as threadsafe with help of java.util.Collections.synchronizedMap(Map).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: labs-unsubscribe@labs.apache.org
For additional commands, e-mail: labs-help@labs.apache.org


Mime
View raw message