commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri Blinov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JEXL-214) Redundant call of fillInStackTrace() in JexlEngine.createInfo() ?
Date Fri, 26 Aug 2016 12:54:21 GMT
Dmitri Blinov created JEXL-214:
----------------------------------

             Summary: Redundant call of fillInStackTrace() in JexlEngine.createInfo() ?
                 Key: JEXL-214
                 URL: https://issues.apache.org/jira/browse/JEXL-214
             Project: Commons JEXL
          Issue Type: Bug
    Affects Versions: 3.0
            Reporter: Dmitri Blinov


I wonder what is the call of {{fillInStackTrace()}} for ?

{code}
    public JexlInfo createInfo() {
        JexlInfo info = null;
        Throwable xinfo = new Throwable();
        xinfo.fillInStackTrace();
        ...
{code}

As far as I know the constructor of Throwable is implemented already calling this method.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message