[root]/groovy/groovy-core/src/test/org/codehaus/groovy/control
io
(2 files, 27 lines)
messages
(1 files, 41 lines)
reformat test code
2 lines of code changed in:
third part... this patch introduces deep changes in the classlaoder structure. A ReflectorLaoder is introduced, specialized to load the Reflectors without the overhead a GroovyClassLoader would give. This Loader should also make the Relfector process a bit less fragil. GCL is now not any longer recompiling by default, but recompiling can be controled through the compiler configuration and a method in case of subclassing GCL. It should be now more easy to write custom versions of the GCL as the class loading process is more modularized and can be overwritten in subclasses at many points. This patch also changes the CompilationUnit into a state machine, going through the different compilation phases and executing all operations stored for that phase. This change allows to add operations without subclassing CompilationUnit, for example adding properties to each generated class.
2 lines of code changed in:
GROOVY-835 / GROOVY-607 : Added tests to ensure that the classpath of a given CompilerConfiguration gets appended to that of a GroovyClassLoader used by a CompilationUnit
43 lines of code changed in: