commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ana (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-1361) ExceptionUtils.getThrowableList is using deprecated ExceptionUtils.getCause
Date Mon, 23 Oct 2017 14:40:01 GMT
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)

Mime
View raw message