[ http://issues.apache.org/jira/browse/JAMES-461?page=comments#action_12371587 ]
Stefano Bagnara commented on JAMES-461: --------------------------------------- Here is a problematic scenario: Iterator i1 = repos.list(); Iterator i2 = repos.list(); repos.retrieve(i1.next()); IMHO the second call to repos.list() reset/renew the uniqToMessageNumber hashtable and it will prevent the following retrieve from working. MailRepository MUST be thread safe, so we cannot relay on the exact sequence list=>retrieve. Another thread could run another list before our retrieve. Any idea on how to solve this? > Maildir support > --------------- > > Key: JAMES-461 > URL: http://issues.apache.org/jira/browse/JAMES-461 > Project: James > Type: New Feature > Reporter: Norman Maurer > Attachments: JavamailStoreMailRepository.java, MaildirMailRepository.java, > MaildirMailRepository.java > > Add Maildir support.. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]