Buggy code:
, new int [ ] { OS . Pk_KP_Add , SWT . KEYPAD_ADD } , new int [ ] { OS . Pk_KP_Enter , SWT . KEYPAD_CR } , new int [ ] { OS . Pk_KP_Subtract , SWT . KEYPAD_SUBTRACT } , new int [ ] { OS . Pk_KP_Decimal , SWT . KEYPAD_DECIMAL } , new int [ ] { OS . Pk_KP_Divide , SWT . KEYPAD_DIVIDE } , new int [ ] { OS . Pk_KP_0 , SWT . KEYPAD_0 } , new int [ ] { OS . Pk_KP_1 , SWT . KEYPAD_1 } , new int [ ] { OS . Pk_KP_2 , SWT . KEYPAD_2 } , new int [ ] { OS . Pk_KP_3 , SWT . KEYPAD_3 } , new int [ ] { OS . Pk_KP_4 , SWT . KEYPAD_4 } , new int [ ] { OS . Pk_KP_5 , SWT . KEYPAD_5 } , new int [ ] { OS . Pk_KP_6 , SWT . KEYPAD_6 } , new int [ ] { OS . Pk_KP_7 , SWT . KEYPAD_7 } , new int [ ] { OS . Pk_KP_8 , SWT . KEYPAD_8 } , new int [ ] { OS . Pk_KP_9 , SWT . KEYPAD_9 } , new int [ ] { OS . Pk_KP_Equal , SWT . KEYPAD_EQUAL } , new int [ ] { OS . Pk_Caps_Lock , SWT . CAPS_LOCK } , new int [ ] { OS . Pk_Num_Lock , SWT . NUM_LOCK } , new int [ ] { OS . Pk_Scroll_Lock , SWT . SCROLL_LOCK } , new int [ ] { OS . Pk_Pause , SWT . PAUSE } , new int [ ] { OS . Pk_Break , SWT . BREAK } , new int [ ] { OS . Pk_Print , SWT . PRINT_SCREEN } , new int [ ] { OS . Pk_Help , SWT . HELP } } ; static Display Default ; static Display [ ] Displays = new Display [ 4 ] ; int ClassesPtr ; int PtButton ; int PtList ; int PtLabel ; int PtToggleButton ; int PtComboBox ; int PtText ; int PtMultiText ; int PtScrollbar ; int PtContainer ; int PtProgress ; int PtPanelGroup ; int PtSlider ; int PtSeparator ; int PtToolbar ; int PtNumericInteger ; int WIDGET_DARK_SHADOW ; int WIDGET_NORMAL_SHADOW ; int WIDGET_LIGHT_SHADOW ; int WIDGET_HIGHLIGHT_SHADOW ; int WIDGET_BACKGROUND ; int WIDGET_FOREGROUND ; int WIDGET_BORDER ; int LIST_FOREGROUND ; int LIST_BACKGROUND ; int LIST_SELECTION ; int LIST_SELECTION_TEXT ; int INFO_FOREGROUND ; int INFO_BACKGROUND ; int TEXT_FOREGROUND ; int TEXT_BACKGROUND ; byte [ ] defaultFont ; byte [ ] TEXT_FONT ; byte [ ] LIST_FONT ; byte [ ] TITLE_FONT ; byte [ ] GAUGE_FONT ; byte [ ] GROUP_FONT ; Cursor [ ] cursors = new Cursor [ ( SWT . CURSOR_HAND ) + 1 ] ; int nullImage ; int SCROLLBAR_WIDTH ; int SCROLLBAR_HEIGHT ; int SCROLLBAR_VERTICAL_BASIC_FLAGS ; int SCROLLBAR_HORIZONTAL_BASIC_FLAGS ; static final String PACKAGE_NAME ; static int DrawBufferSize = 1024 * 48 ; Object data ; String [ ] keys ; Object [ ] values ; static void setDevice ( Device device ) { } public Display ( ) { } public Display ( DeviceData data ) { } public void addFilter ( int eventType , Listener listener ) { } public void addListener ( int eventType , Listener listener ) { } public void asyncExec ( Runnable runnable ) { } public void beep ( ) { } protected void checkDevice ( ) { } static synchronized void checkDisplay ( Thread thread , boolean multiple ) { for ( int i = 0 ; i < ( Display . Displays . length ) ; i ++ ) { if ( ( Display . Displays [ i ] ) != null ) { if ( ! multiple ) <START_BUG> SWT . error ( ERROR_NOT_IMPLEMENTED ) ; <END_BUG> if ( ( Display . Displays [ i ] . thread ) == thread ) SWT . error ( ERROR_THREAD_INVALID_ACCESS ) ; } } } protected void checkSubclass ( ) { } public void close ( ) { } String convertToLf ( String text ) { } protected void create ( DeviceData data ) { } void createDisplay ( DeviceData data ) { } synchronized void deregister ( ) { } protected void destroy ( ) { } void destroyDisplay ( ) { } public void disposeExec ( Runnable runnable ) { } int drawProc ( int handle , int damage ) { } void error ( int code ) { } public static synchronized Display findDisplay ( Thread thread ) { } boolean filterEvent ( Event event ) { } boolean filters ( int eventType ) { } public Widget findWidget ( int handle ) { } public Widget findWidget ( int handle , int id ) { } public Shell getActiveShell ( ) { } public Control getCursorControl ( ) { } public Point [ ] getCursorSizes ( ) { } public Point getCursorLocation ( ) { } public static synchronized Display getCurrent ( ) { } public static synchronized Display getDefault ( ) { } public static void setAppName ( String name ) { } public int getDismissalAlignment ( ) { } public int getDoubleClickTime ( ) { } public Control getFocusControl ( ) { } int getLastEventTime ( ) { } public boolean getHighContrast ( ) { } public int getIconDepth ( ) { } public Point [ ] getIconSizes ( ) { } int getMessageCount ( ) { } public Monitor [ ] getMonitors ( ) { } public Monitor getPrimaryMonitor ( ) { } public Shell [ ] getShells ( ) { } public Color getSystemColor ( int id ) { } public Cursor getSystemCursor ( int id ) { } public Font getSystemFont ( ) { } public Image getSystemImage ( int id ) { } public Tray getSystemTray ( ) { }

Fix:
SWT . error ( ERROR_NOT_IMPLEMENTED , null , "<seq2seq4repair_space>[multiple<seq2seq4repair_space>displays]" ) ;