[
https://issues.apache.org/jira/browse/GROOVY-9828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King closed GROOVY-9828.
-----------------------------
> 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
> Priority: Blocker
> Fix For: 4.0.0-alpha-2
>
>
> 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:
> {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 );
> {code}
> 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)