Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-214

Redundant call of fillInStackTrace() in JexlEngine.createInfo() ?

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Labels:
      None

      Description

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

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

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

        Attachments

          Activity

            People

            • Assignee:
              henrib Henri Biestro
              Reporter:
              dmitri_blinov Dmitri Blinov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: