Author Login
Post Reply
RealmUtils.create*Id() does not properly separate multiple threads
------------------------------------------------------------------
Key: MNG-3797
URL: http://jira.codehaus.org/browse/MNG-3797
Project: Maven 2
Issue Type: Bug
Components: Class Loading
Affects Versions: 3.0-alpha-1
Reporter: Benjamin Bentmann
In [r611615|http://svn.eu.apache.org/viewvc?view=rev&revision=611615], the realm identifiers have been extended with the thread identifier to prevent clashes in parallel executions. This has been broken in [r614316|http://svn.eu.apache.org/viewvc?view=rev&revision=614316] by switching from {{Thread.getId()}} to {{Thread.getName()}} as a thread's name is not necessarily unique.
Since JDK 1.4 compat is no longer required for trunk, the original could be restored.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira