[ 
https://issues.apache.org/jira/browse/SLING-8217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Radu Cotescu resolved SLING-8217.
---------------------------------
    Resolution: Fixed

Fixed in [commit 
37f6f9c|https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler-java/commit/37f6f9c].

> 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
>            Priority: Major
>             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)

Reply via email to