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

Allow const capture runtime option

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3
    • 3.4.0
    • None

    Description

      As a follow-up on JEXL-401, add a runtime option (JexlOption) for 'const capture'.
      This is meant to ease migrating scripts that would otherwise fail at creation time if the engine is configured with the const-capture feature.
      By allowing it as an option, it is easy to add it to the code and make it fail at execution time as in:

      #pragma jexl.options '+constCapture'

      Attachments

        Issue Links

          Activity

            People

              henrib Henri Biestro
              henrib Henri Biestro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: