Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6612

HTL/Sightly sometimes fails to recompile an updated Java POJO located in the repository

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Scripting Sightly Engine 1.0.18
    • Component/s: Scripting
    • Labels:
      None

      Description

      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.

        Attachments

        1. SLING-6612-test.patch
          4 kB
          Vlad Bailescu

          Activity

            People

            • Assignee:
              radu.cotescu Radu Cotescu
              Reporter:
              vladb Vlad Bailescu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: