Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.0.0, 2.0.1
-
None
-
None
Description
We're using Groovy 2.0.1 and we tried the following code snippet which gets called before instantiating the GSE.
ExpandoMetaClassCreationHandle handle = new ExpandoMetaClassCreationHandle();
GroovySystem.getMetaClassRegistry().setMetaClassCreationHandle(handle);
ExpandoMetaClassCreationHandle.disable();
The desired behaviour is to prevent the dynamically compiled scripts from altering the core application class behaviour.