You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmitri Blinov (JIRA)" <ji...@apache.org> on 2016/08/26 12:54:21 UTC

[jira] [Created] (JEXL-214) Redundant call of fillInStackTrace() in JexlEngine.createInfo() ?

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)