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

Groovy Console should set the context class loader to the class loader that loaded the script.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.2.0-beta-1
    • Grape, Groovy Console
    • None

    Description

      If you are using @Grab in your Groovy Console script, you cannot load any of the grabbed classes dynamically using the executing threads context class loader. It would make sense to set this.

      See: http://groovy.329449.n5.nabble.com/GroovyConsole-and-context-thread-loader-td4471707.html#a4481986

      Attachments

        Issue Links

          Activity

            People

              pschumacher Pascal Schumacher
              ldaley Luke Daley
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: