Radu Cotescu created SLING-8217:
-----------------------------------
Summary: Numeric operations can lead to Java code that doesn't
compile
Key: SLING-8217
URL: https://issues.apache.org/jira/browse/SLING-8217
Project: Sling
Issue Type: Bug
Components: Scripting
Affects Versions: Scripting HTL Java Compiler 1.0.24-1.4.0
Reporter: Radu Cotescu
Assignee: Radu Cotescu
Fix For: Scripting HTL Java Compiler 1.1.2-1.4.0
Starting with SLING-7682 the HTL Java compiler generates code that performs
numeric operations for validating the parameters for list iteration control. If
the iteration control variables are passed as property access constructs
instead of numeric constants, then the generated Java code will try to apply
the regular numeric operations (-, +, /, *) to {{java.lang.Number}} objects.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)