Buggy code:
public class AjBuildManager implements IBinarySourceProvider , ICompilerAdapterFactory , IOutputClassFileNameProvider { private static final String CROSSREFS_FILE_NAME = "build.lst" ; private static final String CANT_WRITE_RESULT = "unable<seq2seq4repair_space>to<seq2seq4repair_space>write<seq2seq4repair_space>compilation<seq2seq4repair_space>result" ; private static final String MANIFEST_NAME = "META-INF//MANIFEST.MF" ; static final boolean COPY_INPATH_DIR_RESOURCES = false ; static final boolean FAIL_IF_RUNTIME_NOT_FOUND = false ; private static final FileFilter binarySourceFilter = new FileFilter ( ) { public boolean accept ( File f ) { } } ; public static AsmHierarchyBuilder asmHierarchyBuilder = new AsmHierarchyBuilder ( ) ; private IProgressListener progressListener = null ; private boolean environmentSupportsIncrementalCompilation = false ; private int compiledCount ; private int sourceFileCount ; private JarOutputStream zos ; private boolean batchCompile = true ; private INameEnvironment environment ; private Map binarySourcesForTheNextCompile = new HashMap ( ) ; private IHierarchy structureModel ; public AjBuildConfig buildConfig ; private List aspectNames = new LinkedList ( ) ; AjState state = new AjState ( this ) ; public BcelWeaver getWeaver ( ) { } public BcelWorld getBcelWorld ( ) { } public CountingMessageHandler handler ; public AjBuildManager ( IMessageHandler holder ) { } public void environmentSupportsIncrementalCompilation ( boolean itDoes ) { } public boolean doGenerateModel ( ) { } public boolean batchBuild ( AjBuildConfig buildConfig , IMessageHandler baseHandler ) throws IOException , AbortException { } public boolean incrementalBuild ( AjBuildConfig buildConfig , IMessageHandler baseHandler ) throws IOException , AbortException { } protected boolean doBuild ( AjBuildConfig buildConfig , IMessageHandler baseHandler , boolean batch ) throws IOException , AbortException { } private boolean openOutputStream ( File outJar ) { } private void closeOutputStream ( File outJar ) { } private void copyResourcesToDestination ( ) throws IOException { } private void copyResourcesFromJarFile ( File jarFile ) throws IOException { } private void copyResourcesFromDirectory ( File dir ) throws IOException { } private void copyResourcesFromFile ( File f , String filename , File src ) throws IOException { } private void writeResource ( String filename , byte [ ] content , File srcLocation ) throws IOException { } private void writeManifest ( ) throws IOException { } private boolean acceptResource ( String resourceName ) { } private void writeOutxmlFile ( ) throws IOException { } private void setupModel ( AjBuildConfig config ) { } private void initBcelWorld ( IMessageHandler handler ) throws IOException { } public World getWorld ( ) { } void addAspectClassFilesToWeaver ( List addedClassFiles ) throws IOException { } public FileSystem getLibraryAccess ( String [ ] classpaths , String [ ] filenames ) { } public IProblemFactory getProblemFactory ( ) { } public CompilationUnit [ ] getCompilationUnits ( String [ ] filenames , String [ ] encodings ) { } public String extractDestinationPathFromSourceFile ( CompilationResult result ) { } public void performCompilation ( List files ) { } public IIntermediateResultsRequestor getInterimResultRequestor ( ) { } public ICompilerRequestor getBatchRequestor ( ) { } protected boolean proceedOnError ( ) { } private void setBuildConfig ( AjBuildConfig buildConfig ) { } String makeClasspathString ( AjBuildConfig buildConfig ) { } public String checkRtJar ( AjBuildConfig buildConfig ) { } public String toString ( ) { } public void setStructureModel ( IHierarchy structureModel ) { } public IHierarchy getStructureModel ( ) { } public IProgressListener getProgressListener ( ) { } public void setProgressListener ( IProgressListener progressListener ) { } public String getOutputClassFileName ( char [ ] eclipseClassFileName , CompilationResult result ) { } public ICompilerAdapter getAdapter ( Compiler forCompiler ) { populateCompilerOptionsFromLintSettings ( forCompiler ) ; AjProblemReporter pr = new AjProblemReporter ( DefaultErrorHandlingPolicies . proceedWithAllProblems ( ) , forCompiler . options , getProblemFactory ( ) ) ; forCompiler . problemReporter = pr ; AjLookupEnvironment le = new AjLookupEnvironment ( forCompiler , forCompiler . options , pr , environment ) ; EclipseFactory factory = new EclipseFactory ( le , this ) ; le . factory = factory ; pr . factory = factory ; forCompiler . lookupEnvironment = le ; forCompiler . parser = new org . aspectj . org . eclipse . jdt . internal . compiler . parser . Parser ( pr , forCompiler . options . parseLiteralExpressionsAsConstants ) ; <START_BUG> return new org . aspectj . ajdt . internal . compiler . AjCompilerAdapter ( forCompiler , batchCompile , getBcelWorld ( ) , getWeaver ( ) , factory , getInterimResultRequestor ( ) , progressListener , this , this , state . getBinarySourceMap ( ) , buildConfig . isNoWeave ( ) , buildConfig . getProceedOnError ( ) , buildConfig . isNoAtAspectJAnnotationProcessing ( ) , state ) ; <END_BUG> } private void populateCompilerOptionsFromLintSettings ( Compiler forCompiler ) { } public Map getBinarySourcesForThisWeave ( ) { } public static AsmHierarchyBuilder getAsmHierarchyBuilder ( ) { } public static void setAsmHierarchyBuilder ( AsmHierarchyBuilder newBuilder ) { } public AjState getState ( ) { } public void setState ( AjState buildState ) { } private static class AjBuildContexFormatter implements ContextFormatter { public String formatEntry ( int phaseId , Object data ) { } } }

Fix:
return new org . aspectj . ajdt . internal . compiler . AjCompilerAdapter ( forCompiler , batchCompile , getBcelWorld ( ) , getWeaver ( ) , factory , getInterimResultRequestor ( ) , progressListener , this , this , state . getBinarySourceMap ( ) , buildConfig . isTerminateAfterCompilation ( ) , buildConfig . getProceedOnError ( ) , buildConfig . isNoAtAspectJAnnotationProcessing ( ) , state ) ;