[
https://issues.apache.org/jira/browse/LANG-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niall Pemberton resolved LANG-584.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.x)
2.5
Looks like this was fixed in trunk before the locks were removed:
* http://svn.apache.org/viewvc?view=revision&revision=755391
So I ported that change back to the 2.x branch:
* http://svn.apache.org/viewvc?view=revision&revision=905837
> ExceptionUtils uses mutable lock target
> ---------------------------------------
>
> Key: LANG-584
> URL: https://issues.apache.org/jira/browse/LANG-584
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.exception.*
> Affects Versions: 2.4
> Reporter: Sebb
> Fix For: 2.5
>
>
> ExceptionUtils uses a mutable lock target: both the methods
> removeCauseMethodName() and addCauseMethodName() take out a lock on
> CAUSE_METHOD_NAMES but then modify it.
> That doesn't work - locks need to be immutable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.