Buggy code:
public class Bootstrap2 { private static String base = "..//" ; private static String crimsonSources = "..//..//..//xml-crimson//src" ; private static String [ ] modules = new String [ ] { "copy" , "echo" , "jar" , "javac" } ; public static void main ( String [ ] args ) throws Exception { long startTime = System . currentTimeMillis ( ) ; System . out . println ( "Starting<seq2seq4repair_space>Bootstrap2...." ) ; Bootstrap2 . mkdir ( ( ( Bootstrap2 . base ) + "bootstrap//temp" ) ) ; Bootstrap2 . mkdir ( ( ( Bootstrap2 . base ) + "bootstrap//temp//crimson" ) ) ; Bootstrap2 . mkdir ( ( ( Bootstrap2 . base ) + "bootstrap//temp//main" ) ) ; Bootstrap2 . mkdir ( ( ( Bootstrap2 . base ) + "bootstrap//temp//tasks" ) ) ; Bootstrap2 . mkdir ( ( ( Bootstrap2 . base ) + "bootstrap//temp//taskjars" ) ) ; for ( int i = 0 ; i < ( Bootstrap2 . modules . length ) ; i ++ ) { Bootstrap2 . mkdir ( ( ( ( Bootstrap2 . base ) + "bootstrap//temp//tasks//" ) + ( Bootstrap2 . modules [ i ] ) ) ) ; } Vector v1 = Bootstrap2 . getSources ( ( ( Bootstrap2 . base ) + ( Bootstrap2 . crimsonSources ) ) ) ; Bootstrap2 . doCompile ( ( ( Bootstrap2 . base ) + "bootstrap//temp//crimson" ) , v1 ) ; Vector v2 = Bootstrap2 . getSources ( ( ( Bootstrap2 . base ) + "source//main" ) ) ; Bootstrap2 . doCompile ( ( ( Bootstrap2 . base ) + "bootstrap//temp//main" ) , v2 ) ; for ( int i = 0 ; i < ( Bootstrap2 . modules . length ) ; i ++ ) { Bootstrap2 . buildModule ( Bootstrap2 . modules [ i ] ) ; } System . out . println ( ) ; System . out . println ( "-------------------------------------------" ) ; System . out . println ( "STARTING<seq2seq4repair_space>REAL<seq2seq4repair_space>BUILD" ) ; System . out . println ( "-------------------------------------------" ) ; System . out . println ( ) ; String [ ] cmdarray = new String [ 9 ] ; cmdarray [ 0 ] = "java" ; cmdarray [ 1 ] = "-cp" ; cmdarray [ 2 ] = ( ( ( ( Bootstrap2 . base ) + "bootstrap//temp//main" ) + ( File . pathSeparator ) ) + ( Bootstrap2 . base ) ) + "bootstrap//temp//crimson" ; cmdarray [ 3 ] = "org.apache.ant.cli.Main" ; cmdarray [ 4 ] = "-taskpath" ; cmdarray [ 5 ] = ( Bootstrap2 . base ) + "bootstrap//temp//taskjars" ; cmdarray [ 6 ] = "-buildfile" ; cmdarray [ 7 ] = ( Bootstrap2 . base ) + "source//main.ant" ; cmdarray [ 8 ] = "default" ; <START_BUG> Bootstrap . runCommand ( cmdarray ) ; <END_BUG> System . out . println ( ) ; System . out . println ( "-------------------------------------------" ) ; System . out . println ( "FINISHED<seq2seq4repair_space>WITH<seq2seq4repair_space>REAL<seq2seq4repair_space>BUILD" ) ; System . out . println ( "-------------------------------------------" ) ; System . out . println ( ) ; long endTime = System . currentTimeMillis ( ) ; long elapsd = endTime - startTime ; System . out . println ( ( ( ( ( "Bootstrap<seq2seq4repair_space>Time:<seq2seq4repair_space>" + ( elapsd // 1000 ) ) + "." ) + ( elapsd % 1000 ) ) + "<seq2seq4repair_space>seconds" ) ) ; } private static void mkdir ( String arg ) { } private static void buildModule ( String arg ) { } private static Vector getSources ( String arg ) { } private static void jarDir ( File dir , File jarfile ) throws IOException { } private static void jarDir ( File dir , String prefix , JarOutputStream jos ) throws IOException { } private static void scanDir ( File dir , Vector v , String endsWith ) { } private static void doCompile ( String dest , Vector sources ) { } private static void copyfile ( String from , String dest ) { } }

Fix:
Bootstrap . runCommand ( cmdarray , args ) ;