Buggy code:
public class XModeHandler extends HandlerBase { public XModeHandler ( XmlParser parser , String modeName , String path ) { } public Object resolveEntity ( String publicId , String systemId ) { } public void attribute ( String aname , String value , boolean isSpecified ) { String tag = peekElement ( ) ; aname = ( aname == null ) ? null : aname . intern ( ) ; if ( aname == "NAME" ) { propName = value ; } else if ( aname == "VALUE" ) { propValue = value ; } else if ( aname == "TYPE" ) { lastTokenID = stringToToken ( value ) ; } else if ( aname == "AT_LINE_START" ) { lastAtLineStart = ( isSpecified ) ? value . equals ( "TRUE" ) : false ; } else if ( aname == "NO_LINE_BREAK" ) { lastNoLineBreak = ( isSpecified ) ? value . equals ( "TRUE" ) : false ; } else if ( aname == "NO_WORD_BREAK" ) { lastNoWordBreak = ( isSpecified ) ? value . equals ( "TRUE" ) : false ; } else if ( aname == "EXCLUDE_MATCH" ) { lastExcludeMatch = ( isSpecified ) ? value . equals ( "TRUE" ) : false ; } else if ( aname == "IGNORE_CASE" ) { <START_BUG> lastIgnoreCase = ( isSpecified ) ? value . equals ( "TRUE" ) : false ; <END_BUG> } else if ( aname == "HIGHLIGHT_DIGITS" ) { lastHighlightDigits = ( isSpecified ) ? value . equals ( "TRUE" ) : false ; } else if ( aname == "DIGIT_RE" ) { lastDigitRE = value ; } else if ( aname == "AT_CHAR" ) { try { if ( isSpecified ) termChar = Integer . parseInt ( value ) ; } catch ( NumberFormatException e ) { error ( "termchar-invalid" , value ) ; termChar = - 1 ; } } else if ( aname == "ESCAPE" ) { lastEscape = value ; } else if ( aname == "SET" ) { lastSetName = value ; } else if ( aname == "DELEGATE" ) { lastDelegateSet = value ; } else if ( aname == "DEFAULT" ) { lastDefaultID = stringToToken ( value ) ; } } public void doctypeDecl ( String name , String publicId , String systemId ) throws Exception { } public void charData ( char [ ] c , int off , int len ) { } public void startElement ( String tag ) { } public void endElement ( String name ) { } public void startDocument ( ) { } private XmlParser parser ; private String modeName ; private String path ; private TokenMarker marker ; private KeywordMap keywords ; private Mode mode ; private Stack stateStack ; private String propName ; private String propValue ; private Hashtable props ; private String lastStart ; private String lastEnd ; private String lastKeyword ; private String lastSetName ; private String lastEscape ; private String lastDelegateSet ; private ParserRuleSet rules ; private byte lastDefaultID = Token . NULL ; private byte lastTokenID ; private int termChar = - 1 ; private boolean lastNoLineBreak ; private boolean lastNoWordBreak ; private boolean lastAtLineStart ; private boolean lastExcludeMatch ; private boolean lastIgnoreCase = true ; private boolean lastHighlightDigits ; private String lastDigitRE ; private byte stringToToken ( String value ) { } private void addKeyword ( String k , byte id ) { } private String pushElement ( String name ) { } private String peekElement ( ) { } private String popElement ( ) { } private void error ( String msg ) { } private void error ( String msg , String subst ) { } private void error ( String msg , Throwable t ) { } private void _error ( String msg ) { } }

Fix:
lastIgnoreCase = ( isSpecified ) ? value . equals ( "TRUE" ) : true ;