Buggy code:
public class List extends Scrollable { NSTableColumn column ; String [ ] items ; int itemCount ; boolean ignoreSelect ; public List ( Composite parent , int style ) { } 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 ( ) { <START_BUG> SWTScrollView scrollWidget = ( ( SWTScrollView ) ( new SWTScrollView ( ) . alloc ( ) ) ) ; <END_BUG> scrollWidget . initWithFrame ( new NSRect ( ) ) ; if ( ( ( style ) & ( SWT . H_SCROLL ) ) != 0 ) scrollWidget . setHasHorizontalScroller ( true ) ; if ( ( ( style ) & ( SWT . V_SCROLL ) ) != 0 ) scrollWidget . setHasVerticalScroller ( true ) ; scrollWidget . setAutohidesScrollers ( true ) ; scrollWidget . setBorderType ( ( ( ( style ) & ( SWT . BORDER ) ) != 0 ? OS . NSBezelBorder : OS . NSNoBorder ) ) ; NSTableView widget = ( ( NSTableView ) ( new SWTTableView ( ) . alloc ( ) ) ) ; widget . initWithFrame ( new NSRect ( ) ) ; widget . setAllowsMultipleSelection ( ( ( ( style ) & ( SWT . MULTI ) ) != 0 ) ) ; widget . setDataSource ( widget ) ; widget . setHeaderView ( null ) ; widget . setDelegate ( widget ) ; widget . setDoubleAction ( sel_sendDoubleSelection ) ; if ( ! ( hasBorder ( ) ) ) widget . setFocusRingType ( NSFocusRingTypeNone ) ; column = ( ( NSTableColumn ) ( new NSTableColumn ( ) . alloc ( ) ) ) ; column . initWithIdentifier ( NSString . stringWith ( "" ) ) ; widget . addTableColumn ( column ) ; scrollView = scrollWidget ; view = widget ; } void createWidget ( ) { } Color defaultBackground ( ) { } Color defaultForeground ( ) { } public void deselect ( int index ) { } public void deselect ( int start , int end ) { } public void deselect ( int [ ] indices ) { } public void deselectAll ( ) { } 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 numberOfRowsInTableView ( int aTableView ) { } void releaseHandle ( ) { } void releaseWidget ( ) { } public void remove ( int index ) { } 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 [ ] ids , int count , boolean clear ) { } public void selectAll ( ) { } void sendDoubleSelection ( ) { } public void setItem ( int index , String string ) { } public void setItems ( String [ ] items ) { } public void setSelection ( int index ) { } void setSelection ( int index , boolean notify ) { } 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 aNotification ) { } boolean tableView_shouldEditTableColumn_row ( int aTableView , int aTableColumn , int rowIndex ) { } int tableView_objectValueForTableColumn_row ( int aTableView , int aTableColumn , int rowIndex ) { } }

Fix:
NSScrollView scrollWidget = ( ( NSScrollView ) ( new SWTScrollView ( ) . alloc ( ) ) ) ;