public void testThreadSafetyJanino() {
execute( JavaDialectConfiguration.JANINO );
}
public void execute(int compiler) {
final PackageBuilderConfiguration packageBuilderConfig = new PackageBuilderConfiguration();
((JavaDialectConfiguration) packageBuilderConfig.getDialectConfiguration( "java" )).setCompiler( compiler );
final List<PackageBuilderErrors> errors = new ArrayList<PackageBuilderErrors>();
final List<Exception> exceptions = new ArrayList<Exception>();
Thread[] threads = new Thread[_NUMBER_OF_THREADS];
for ( int i = 0; i < _NUMBER_OF_THREADS; i++ ) {