Buggy code:
public class List extends Scrollable { NSTableColumn column ; String [ ] items ; int itemCount ; boolean ignoreSelect ; static final int CELL_GAP = 1 ; public List ( Composite parent , int style ) { } int accessibilityAttributeValue ( int id , int sel , int arg0 ) { } public void add ( String string ) { } public void add ( String string , int index ) { } public void addSelectionListener ( SelectionListener listener ) { } static int checkStyle ( int style ) { } public Point computeSize ( int wHint , int hHint , boolean changed ) { } void createHandle ( ) { } void createWidget ( ) { } Color defaultBackground ( ) { } NSFont defaultNSFont ( ) { } Color defaultForeground ( ) { } public void deselect ( int index ) { } public void deselect ( int start , int end ) { } public void deselect ( int [ ] indices ) { } public void deselectAll ( ) { } boolean dragDetect ( int x , int y , boolean filter , boolean [ ] consume ) { } void fixSelection ( int index , boolean add ) { } public int getFocusIndex ( ) { } public String getItem ( int index ) { } public int getItemCount ( ) { } public int getItemHeight ( ) { } public String [ ] getItems ( ) { } public String [ ] getSelection ( ) { } public int getSelectionCount ( ) { } public int getSelectionIndex ( ) { } public int [ ] getSelectionIndices ( ) { } public int getTopIndex ( ) { } public int indexOf ( String item ) { } public int indexOf ( String string , int start ) { } public boolean isSelected ( int index ) { } int menuForEvent ( int id , int sel , int theEvent ) { } int numberOfRowsInTableView ( int id , int sel , int aTableView ) { } void releaseHandle ( ) { } void releaseWidget ( ) { } public void remove ( int index ) { } void remove ( int index , boolean fixScroll ) { } public void remove ( int start , int end ) { } public void remove ( String string ) { } public void remove ( int [ ] indices ) { } public void removeAll ( ) { } public void removeSelectionListener ( SelectionListener listener ) { } public void select ( int index ) { } public void select ( int start , int end ) { } public void select ( int [ ] indices ) { } void select ( int [ ] indices , int count , boolean clear ) { } public void selectAll ( ) { } void sendDoubleSelection ( ) { } boolean sendKeyEvent ( NSEvent nsEvent , int type ) { } void updateBackground ( ) { } void setFont ( NSFont font ) { } public void setItem ( int index , String string ) { } public void setItems ( String [ ] items ) { } boolean setScrollWidth ( String item ) { } boolean setScrollWidth ( ) { } public void setSelection ( int index ) { } public void setSelection ( int start , int end ) { } public void setSelection ( int [ ] indices ) { } public void setSelection ( String [ ] items ) { } public void setTopIndex ( int index ) { } void showIndex ( int index ) { } public void showSelection ( ) { } void tableViewSelectionDidChange ( int id , int sel , int aNotification ) { } boolean tableView_shouldEditTableColumn_row ( int id , int sel , int aTableView , int aTableColumn , int rowIndex ) { } int tableView_objectValueForTableColumn_row ( int id , int sel , int aTableView , int aTableColumn , int rowIndex ) { <START_BUG> NSAttributedString attribStr = createString ( items [ ( ( int ) ( rowIndex ) ) ] , null , foreground , 0 , false ) ; <END_BUG> attribStr . autorelease ( ) ; return attribStr . id ; } }

Fix:
NSAttributedString attribStr = createString ( items [ ( ( int ) ( rowIndex ) ) ] , null , foreground , 0 , true , false ) ;