Henri Biestro created JEXL-413: ---------------------------------- Summary: Allow const capture runtime option Key: JEXL-413 URL: https://issues.apache.org/jira/browse/JEXL-413 Project: Commons JEXL Issue Type: Improvement Affects Versions: 3.3 Reporter: Henri Biestro Fix For: 3.3.1
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: {code}#pragma jexl.options '+constCapture'{code} -- This message was sent by Atlassian Jira (v8.20.10#820010)