commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Biestro (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JEXL-214) Redundant call of fillInStackTrace() in JexlEngine.createInfo() ?
Date Wed, 31 Aug 2016 10:36:21 GMT

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

Mime
View raw message