You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ana (JIRA)" <ji...@apache.org> on 2017/10/23 14:40:01 UTC
[jira] [Created] (LANG-1361) ExceptionUtils.getThrowableList is
using deprecated ExceptionUtils.getCause
Ana created LANG-1361:
-------------------------
Summary: 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
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)