Buggy code:
public class Main implements ProblemSeverities , SuffixConstants { public boolean noWarn = false ; public PrintWriter out ; public PrintWriter err ; public boolean systemExitWhenFinished = true ; public boolean proceedOnError = false ; public boolean verbose = false ; public boolean produceRefInfo = false ; public boolean timer = false ; public boolean showProgress = false ; public long time = 0 ; public long lineCount ; public boolean generatePackagesStructure ; public Map options ; public String [ ] filenames ; public String [ ] encodings ; public String [ ] classpaths ; public String destinationPath ; public String log ; public int repetitions ; public int globalProblemsCount ; public int globalErrorsCount ; public int globalWarningsCount ; public int exportedClassFilesCounter ; public static final char [ ] DOUBLE_QUOTES = "''" . toCharArray ( ) ; public static final char [ ] SINGLE_QUOTE = "'" . toCharArray ( ) ; public static ResourceBundle bundle ; public static final String bundleName = "org.eclipse.jdt.internal.compiler.batch.messages" ; public boolean proceed = true ; public Main ( PrintWriter outWriter , PrintWriter errWriter , boolean systemExitWhenFinished ) { } public boolean compile ( String [ ] argv ) { } public static boolean compile ( String commandLine ) { } public static boolean compile ( String commandLine , PrintWriter outWriter , PrintWriter errWriter ) { } public static String [ ] tokenize ( String commandLine ) { } public void configure ( String [ ] argv ) throws InvalidInputException { } private File [ ] getFilesFrom ( File f , final String extension ) { } public static Map getDefaultOptions ( ) { Map defaultOptions = new Hashtable ( ) ; defaultOptions . put ( CompilerOptions . OPTION_LocalVariableAttribute , CompilerOptions . DO_NOT_GENERATE ) ; defaultOptions . put ( CompilerOptions . OPTION_LineNumberAttribute , CompilerOptions . GENERATE ) ; defaultOptions . put ( CompilerOptions . OPTION_SourceFileAttribute , CompilerOptions . GENERATE ) ; defaultOptions . put ( CompilerOptions . OPTION_PreserveUnusedLocal , CompilerOptions . OPTIMIZE_OUT ) ; defaultOptions . put ( OPTION_ReportUnreachableCode , CompilerOptions . ERROR ) ; defaultOptions . put ( OPTION_ReportInvalidImport , CompilerOptions . ERROR ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportOverridingPackageDefaultMethod , CompilerOptions . WARNING ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportMethodWithConstructorName , CompilerOptions . WARNING ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportDeprecation , CompilerOptions . WARNING ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportHiddenCatchBlock , CompilerOptions . WARNING ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportUnusedLocal , CompilerOptions . IGNORE ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportUnusedImport , CompilerOptions . WARNING ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportUnusedParameter , CompilerOptions . IGNORE ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportUnusedParameterWhenImplementingAbstract , CompilerOptions . DISABLED ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportUnusedParameterWhenOverridingConcrete , CompilerOptions . DISABLED ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportSyntheticAccessEmulation , CompilerOptions . IGNORE ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportNonExternalizedStringLiteral , CompilerOptions . IGNORE ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportAssertIdentifier , CompilerOptions . IGNORE ) ; defaultOptions . put ( CompilerOptions . OPTION_Compliance , CompilerOptions . VERSION_1_3 ) ; defaultOptions . put ( CompilerOptions . OPTION_Source , CompilerOptions . VERSION_1_3 ) ; defaultOptions . put ( CompilerOptions . OPTION_TargetPlatform , CompilerOptions . VERSION_1_1 ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportNoImplicitStringConversion , CompilerOptions . WARNING ) ; defaultOptions . put ( OPTION_ReportStaticAccessReceiver , CompilerOptions . WARNING ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportIncompatibleNonInheritedInterfaceMethod , CompilerOptions . WARNING ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportUnusedPrivateMember , CompilerOptions . IGNORE ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportLocalVariableHiding , CompilerOptions . IGNORE ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportFieldHiding , CompilerOptions . IGNORE ) ; defaultOptions . put ( CompilerOptions . OPTION_ReportSpecialParameterHidingField , CompilerOptions . DISABLED ) ; <START_BUG> defaultOptions . put ( CompilerOptions . OPTION_ReportPossibleAccidentalBooleanAssignment , CompilerOptions . WARNING ) ; <END_BUG> defaultOptions . put ( CompilerOptions . OPTION_ReportNoEffectAssignment , CompilerOptions . WARNING ) ; return defaultOptions ; } public Map getOptions ( ) { } public ICompilerRequestor getBatchRequestor ( ) { } public CompilationUnit [ ] getCompilationUnits ( ) throws InvalidInputException { } public IErrorHandlingPolicy getHandlingPolicy ( ) { } public FileSystem getLibraryAccess ( ) { } public IProblemFactory getProblemFactory ( ) { } public static void main ( String [ ] argv ) { } public void outputClassFiles ( CompilationResult unitResult ) { } public void performCompilation ( ) throws InvalidInputException { } public void printUsage ( ) { } public static void relocalize ( ) { } public static String bind ( String id ) { } public static String bind ( String id , String [ ] bindings ) { } public static String bind ( String id , String binding ) { } public static String bind ( String id , String binding1 , String binding2 ) { } public String extractDestinationPathFromSourceFile ( CompilationResult result ) { } }

Fix:
defaultOptions . put ( CompilerOptions . OPTION_ReportPossibleAccidentalBooleanAssignment , CompilerOptions . IGNORE ) ;