sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radu Cotescu (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SLING-8217) Numeric operations can lead to Java code that doesn't compile
Date Mon, 28 Jan 2019 15:09:00 GMT

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

Radu Cotescu closed SLING-8217.
-------------------------------

> 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, HTL Maven Plugin 1.2.4-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)

Mime
View raw message