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

MinimumRecompilationInterval is not used as an interval in GroovyScriptEngine

    XMLWordPrintableJSON

Details

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

    Description

      Example:

      If I set minimumRecompilationInteval to 60 seconds, GroovyScriptEngine will load the script on first access (as expected).
      It will then skip checking the script for modifications for 60 seconds (as expected).

      After the 60 seconds has passed it will check the the script for modifications EVERY time it's accessed.
      I would expect that the source file would be left alone for another 60 seconds after it has been checked once again.

      Is the current behaviour correct, or is it a bug?

      Attachments

        1. GROOVY-5322.patch
          25 kB
          Mattias Reichel

        Activity

          People

            blackdrag Jochen Theodorou
            mattiasr Mattias Reichel
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: