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

Groovysh: Do not force override classloader if user supplied is already GroovyClassLoader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.6
    • 2.5.8, 3.0.0-beta-3
    • Groovysh
    • None

    Description

      When user supplies class loader that is already GroovyClassLoader, Groovysh should use it as it is and do not create another GroovyClassLoader with the user supplied as parent. Reason for this is that user might want to have finer control over generated classes in the groovy shell.

      Attachments

        Activity

          People

            daniel_sun Daniel Sun
            janl Jan Lukavský
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.5h
                2.5h