[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] Commented: (LANG-584) ExceptionUtils uses mutable lock
From:       "Sebb (JIRA)" <jira () apache ! org>
Date:       2010-01-29 19:26:34
Message-ID: 698552115.135621264793194654.JavaMail.jira () brutus ! apache ! org
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/LANG-584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806456#action_12806456 \
] 

Sebb commented on LANG-584:
---------------------------

If the methods are to be kept, then the easiest solution is just to create an \
immutable lock object and use that instead.

If that's OK, I'm happy to implement it.

> 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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic