You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2020/05/22 04:04:01 UTC

[jira] [Closed] (GROOVY-9398) GroovyScriptEngine cannot recompile a class that uses generic parameters

     [ https://issues.apache.org/jira/browse/GROOVY-9398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-9398.
-----------------------------

> GroovyScriptEngine cannot recompile a class that uses generic parameters
> ------------------------------------------------------------------------
>
>                 Key: GROOVY-9398
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9398
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: JAMIE ECHLIN
>            Assignee: Daniel Sun
>            Priority: Major
>             Fix For: 4.0.0-alpha-1, 3.0.4
>
>
> The error is: 
> {code}
> 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
> {code}
> I created a test which demonstrates the problem: https://github.com/apache/groovy/pull/1168



--
This message was sent by Atlassian Jira
(v8.3.4#803005)