[
https://issues.apache.org/jira/browse/LANG-584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806396#action_12806396
]
Henri Yandell commented on LANG-584:
------------------------------------
Looks like, apart from one comment, we removed being able to modify the cause
names in 3.0.
API is (the deprecated):
public static Throwable getCause(Throwable throwable) {
public static Throwable getCause(Throwable throwable, String[] methodNames)
{
> 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
>
> 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.