You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2020/05/19 19:52:00 UTC

[jira] [Resolved] (SLING-9457) Nested loops without an item identifier generate a Java compilation error

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

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

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

> Nested loops without an item identifier generate a Java compilation error
> -------------------------------------------------------------------------
>
>                 Key: SLING-9457
>                 URL: https://issues.apache.org/jira/browse/SLING-9457
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Radu Cotescu
>            Assignee: Radu Cotescu
>            Priority: Major
>             Fix For: Scripting HTL Java Compiler 1.2.0-1.4.0
>
>
> SLING-9142 introduced a [regression|https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler-java/commit/7476e0e3cad660228dc1e6c6dbc58a0ea5a5baee#diff-d97cfba1ce4a85137e765d5e9c38ebaaL50], where nested loops without an item identifier would generate a Java compiler error, since the nested loop tries to redefine the same local variable.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)