You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2017/11/10 16:42:01 UTC
[jira] [Closed] (LANG-1361) ExceptionUtils.getThrowableList() is
using deprecated ExceptionUtils.getCause()
[ https://issues.apache.org/jira/browse/LANG-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pascal Schumacher closed LANG-1361.
-----------------------------------
> 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)