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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.6
    • Fix Version/s: 2.5.8, 3.0.0-beta-3
    • Component/s: Groovysh
    • Labels:
      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

            • Assignee:
              daniel_sun Daniel Sun
              Reporter:
              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