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

GroovyScriptEngine load from jarURL fail

    XMLWordPrintableJSON

Details

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

    Description

      GroovyScriptEngine loadScriptByName from jarURL, first time is ok, second time fail, GroovyScriptEngine attempts to load from a fileURL.
      For fix this, change this:

      String path = conn.getURL().getPath();
      

      to

      String path = conn.getURL().toString();
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: