Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-5713

timing problem with GroovyScriptEngine recompilation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.8, 2.0.2
    • 2.0.4, 1.8.9
    • GroovyScriptEngine
    • None

    Description

      while GROOVY-4975 fixed several things the implementation still had a flaw that was not easily showing in the tests attached to GROOVY-4975. Because of the truncation of the last modification time of the URL it was very possible to get quite random times within a 1000ms range. Partially to that, partially to other issues isSourceNewer gave wrong results. For example very new entries, that just had been compiled, return true if depending on how long after that isSourceNewer is called. This leads to dependencies not picked up right

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            blackdrag Jochen Theodorou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: