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

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

     [ https://issues.apache.org/jira/browse/JEXL-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Biestro resolved JEXL-214.
--------------------------------
       Resolution: Fixed
         Assignee: Henri Biestro
    Fix Version/s: 3.1

src/main/java/org/apache/commons/jexl3/JexlEngine.java
Committed revision 1758577.

> 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
>            Assignee: Henri Biestro
>             Fix For: 3.1
>
>
> 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)