commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1361) ExceptionUtils.getThrowableList() is using deprecated ExceptionUtils.getCause()
Date Mon, 23 Oct 2017 18:51:02 GMT

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

Ana commented on LANG-1361:
---------------------------

Thanks!

> ExceptionUtils.getThrowableList() is using deprecated ExceptionUtils.getCause()
> -------------------------------------------------------------------------------
>
>                 Key: LANG-1361
>                 URL: https://issues.apache.org/jira/browse/LANG-1361
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.exception.*
>    Affects Versions: 3.6
>            Reporter: Ana
>             Fix For: 3.7
>
>
> Though ExceptionUtils.getCause is deprecated it's used internally, for example in ExceptionUtils.getThrowables.

> We noticed this while running performance tests where a large number of NoSuchMethod
exceptions where seen since ExceptionUtils.getCause catches them repeatedly. Unless initialised
carefully, creating exceptions has the overhead of filling the stack trace which was our performance
concern. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message