[jboss-jira] [JBoss JIRA] Closed: (JBREM-615) If CallbackStore.add() is called twice quickly, System.currentTimeMillis() might not change, leading to duplicate file names.

Ron Sigal (JIRA) jira-events at jboss.com
Sat Oct 28 14:48:41 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBREM-615?page=all ]

Ron Sigal closed JBREM-615.
---------------------------

    Resolution: Done

Added counter to distinguish callback file names with duplicate time stamps.

> If CallbackStore.add() is called twice quickly, System.currentTimeMillis() might not change, leading to duplicate file names.
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBREM-615
>                 URL: http://jira.jboss.com/jira/browse/JBREM-615
>             Project: JBoss Remoting
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.2.0.Beta1 (Bluto)
>            Reporter: Ron Sigal
>         Assigned To: Ron Sigal
>             Fix For: 2.2.0.Beta1 (Bluto)
>
>
> Callbacks are stored in files whose names are distinguished by a time stamp, but the granularity of System.currentTimeMillis() isn't enough to insure that all filenames are distinct.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list