Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
4.0.0-alpha-1
-
None
Description
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?