Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-984

Velocity calls method of abstract superclass leading to an IllegalAccessException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4
    • None
    • Engine
    • None

    Description

      With the changes introduced in VELOCITY-952, our templates fail with an IllegalAccessException.

      The exception is caused by a template that has a variable of type StringBuilder and calls append on it. The introduced changes choose the implementation of the method of AbstractStringBuilder to be executed, which leads to the mentioned IllegalAccessExceptions.

      I've attached an extended version of Velocity952TestCase.java that reproduces the problem with an additional test.

       

      Attachments

        1. Velocity952TestCase.java
          3 kB
          Christoph Lenggenhager

        Issue Links

          Activity

            People

              cbrisson Claude Brisson
              lenggi Christoph Lenggenhager
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: