Buggy code:
this . options . put ( CompilerOptions . OPTION_ReportDeprecationInDeprecatedCode , CompilerOptions . DISABLED ) ; } else if ( token . equals ( "allDeprecation" ) ) { this . options . put ( CompilerOptions . OPTION_ReportDeprecation , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; this . options . put ( CompilerOptions . OPTION_ReportDeprecationInDeprecatedCode , ( isEnabling ? CompilerOptions . ENABLED : CompilerOptions . DISABLED ) ) ; this . options . put ( CompilerOptions . OPTION_ReportDeprecationWhenOverridingDeprecatedMethod , ( isEnabling ? CompilerOptions . ENABLED : CompilerOptions . DISABLED ) ) ; } else if ( ( token . equals ( "unusedLocal" ) ) || ( token . equals ( "unusedLocals" ) ) ) { this . options . put ( CompilerOptions . OPTION_ReportUnusedLocal , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( ( token . equals ( "unusedArgument" ) ) || ( token . equals ( "unusedArguments" ) ) ) { this . options . put ( CompilerOptions . OPTION_ReportUnusedParameter , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( ( token . equals ( "unusedImport" ) ) || ( token . equals ( "unusedImports" ) ) ) { this . options . put ( CompilerOptions . OPTION_ReportUnusedImport , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( token . equals ( "unusedPrivate" ) ) { this . options . put ( CompilerOptions . OPTION_ReportUnusedPrivateMember , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( token . equals ( "localHiding" ) ) { this . options . put ( CompilerOptions . OPTION_ReportLocalVariableHiding , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( token . equals ( "fieldHiding" ) ) { this . options . put ( CompilerOptions . OPTION_ReportFieldHiding , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( token . equals ( "specialParamHiding" ) ) { this . options . put ( CompilerOptions . OPTION_ReportSpecialParameterHidingField , ( isEnabling ? CompilerOptions . ENABLED : CompilerOptions . DISABLED ) ) ; } else if ( token . equals ( "conditionAssign" ) ) { this . options . put ( CompilerOptions . OPTION_ReportPossibleAccidentalBooleanAssignment , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( token . equals ( "syntheticAccess" ) ) { this . options . put ( CompilerOptions . OPTION_ReportSyntheticAccessEmulation , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( token . equals ( "nls" ) ) { this . options . put ( CompilerOptions . OPTION_ReportNonExternalizedStringLiteral , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( token . equals ( "staticReceiver" ) ) { this . options . put ( CompilerOptions . OPTION_ReportNonStaticAccessToStatic , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( token . equals ( "indirectStatic" ) ) { this . options . put ( CompilerOptions . OPTION_ReportIndirectStaticAccess , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( token . equals ( "noEffectAssign" ) ) { this . options . put ( CompilerOptions . OPTION_ReportNoEffectAssignment , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( ( token . equals ( "intfNonInherited" ) ) || ( token . equals ( "interfaceNonInherited" ) ) ) { this . options . put ( CompilerOptions . OPTION_ReportIncompatibleNonInheritedInterfaceMethod , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( ( token . equals ( "charConcat" ) ) || ( token . equals ( "noImplicitStringConversion" ) ) ) { this . options . put ( CompilerOptions . OPTION_ReportNoImplicitStringConversion , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( token . equals ( "semicolon" ) ) { <START_BUG> this . options . put ( OPTION_ReportSuperfluousSemicolon , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; <END_BUG> } else if ( token . equals ( "emptyBlock" ) ) { this . options . put ( CompilerOptions . OPTION_ReportUndocumentedEmptyBlock , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( token . equals ( "uselessTypeCheck" ) ) { this . options . put ( CompilerOptions . OPTION_ReportUnnecessaryTypeCheck , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ; } else if ( token . equals ( "javadoc" ) ) { if ( ! useEnableJavadoc ) { this . options . put ( CompilerOptions . OPTION_DocCommentSupport , ( isEnabling ? CompilerOptions . ENABLED : CompilerOptions . DISABLED ) ) ; } if ( isEnabling ) { this . options . put ( CompilerOptions . OPTION_ReportInvalidJavadoc , CompilerOptions . WARNING ) ; this . options . put ( CompilerOptions . OPTION_ReportInvalidJavadocTags , CompilerOptions . ENABLED ) ; this . options . put ( CompilerOptions . OPTION_ReportInvalidJavadocTagsVisibility , CompilerOptions . PRIVATE ) ; this . options . put ( CompilerOptions . OPTION_ReportMissingJavadocTags , CompilerOptions . WARNING ) ; this . options . put ( CompilerOptions . OPTION_ReportMissingJavadocTagsVisibility , CompilerOptions . PRIVATE ) ; } } else if ( token . equals ( "allJavadoc" ) ) { if ( ! useEnableJavadoc ) { this . options . put ( CompilerOptions . OPTION_DocCommentSupport , ( isEnabling ? CompilerOptions . ENABLED : CompilerOptions . DISABLED ) ) ; } if ( isEnabling ) { this . options . put ( CompilerOptions . OPTION_ReportInvalidJavadoc , CompilerOptions . WARNING ) ; this . options . put ( CompilerOptions . OPTION_ReportInvalidJavadocTags , CompilerOptions . ENABLED ) ;

Fix:
this . options . put ( CompilerOptions . OPTION_ReportEmptyStatement , ( isEnabling ? CompilerOptions . WARNING : CompilerOptions . IGNORE ) ) ;