[ 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)