Parses the groovy code contained in codeSource and returns a java class.
(final GroovyCodeSource codeSource)
| 661 | * Parses the groovy code contained in codeSource and returns a java class. |
| 662 | */ |
| 663 | private Class parseClass(final GroovyCodeSource codeSource) throws CompilationFailedException { |
| 664 | // Don't cache scripts |
| 665 | return loader.parseClass(codeSource, false); |
| 666 | } |
| 667 | |
| 668 | /** |
| 669 | * Parses the given script and returns it ready to be run. When running in a secure environment |