You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Vlad Bailescu (JIRA)" <ji...@apache.org> on 2017/03/06 13:42:33 UTC

[jira] [Created] (SLING-6612) HTL/Sightly sometimes fails to recompile an updated Java POJO located in the repository

Vlad Bailescu created SLING-6612:
------------------------------------

             Summary: HTL/Sightly sometimes fails to recompile an updated Java POJO located in the repository
                 Key: SLING-6612
                 URL: https://issues.apache.org/jira/browse/SLING-6612
             Project: Sling
          Issue Type: Bug
          Components: Scripting
    Affects Versions: Scripting Sightly Engine 1.0.18
            Reporter: Vlad Bailescu
            Priority: Critical


HTL/Sightly sometimes fails to recompile an updated Java POJO located in the repository because the current implementation of the {{JavaUseProvider}} does not take into account the timestamps of the {{.java}} and {{.class}} files (and relies on {{ResourceChangeListener}} to track updates to the Java classes in the repo).

I have attached a patch with a test that reproduces the issue.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)