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

GroovyScriptEngine cannot recompile a class that uses generic parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 4.0.0-alpha-1, 3.0.4
    • None
    • None

    Description

      The error is: 

      org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
          map://local/SubClass.groovy: 2: The class BaseClass<String> (supplied with 1 type parameter) refers to the class BaseClass which takes no parameters
      

      I created a test which demonstrates the problem: https://github.com/apache/groovy/pull/1168

      Attachments

        Issue Links

          Activity

            People

              daniel_sun Daniel Sun
              jechlin JAMIE ECHLIN
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: