You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Pruteanu Dragos (Jira)" <ji...@apache.org> on 2020/11/26 11:31:00 UTC
[jira] [Created] (GROOVY-9828) Migrate from Codehouse to Apache
Groovy 4.0.0-alpha
Pruteanu Dragos created GROOVY-9828:
---------------------------------------
Summary: Migrate from Codehouse to Apache Groovy 4.0.0-alpha
Key: GROOVY-9828
URL: https://issues.apache.org/jira/browse/GROOVY-9828
Project: Groovy
Issue Type: Bug
Components: Compiler
Affects Versions: 4.0.0-alpha-1
Reporter: Pruteanu Dragos
I am migrating from codehouse.groovy:3.0.4 to apache.groovy I got exceptions:
unable to resolve class Act
I am using in my code:
```
final ImportCustomizer importCustomizer = new ImportCustomizer();
importCustomizer.addImports( "Act", Act.class.getName() );
importCustomizer.addImports( "Record", Record.class.getName() );
compilerConfiguration.addCompilationCustomizers( importCustomizer );
final GroovyShell shell = new GroovyShell( binding, compilerConfiguration );
```
This was previously working. Is something that I have to change or is it a bug in the new version?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)