Buggy code:
, new int [ ] { OS . GDK_F9 , SWT . F9 } , new int [ ] { OS . GDK_F10 , SWT . F10 } , new int [ ] { OS . GDK_F11 , SWT . F11 } , new int [ ] { OS . GDK_F12 , SWT . F12 } , new int [ ] { OS . GDK_F13 , SWT . F13 } , new int [ ] { OS . GDK_F14 , SWT . F14 } , new int [ ] { OS . GDK_F15 , SWT . F15 } , new int [ ] { OS . GDK_KP_Multiply , SWT . KEYPAD_MULTIPLY } , new int [ ] { OS . GDK_KP_Add , SWT . KEYPAD_ADD } , new int [ ] { OS . GDK_KP_Enter , SWT . KEYPAD_CR } , new int [ ] { OS . GDK_KP_Subtract , SWT . KEYPAD_SUBTRACT } , new int [ ] { OS . GDK_KP_Decimal , SWT . KEYPAD_DECIMAL } , new int [ ] { OS . GDK_KP_Divide , SWT . KEYPAD_DIVIDE } , new int [ ] { OS . GDK_KP_0 , SWT . KEYPAD_0 } , new int [ ] { OS . GDK_KP_1 , SWT . KEYPAD_1 } , new int [ ] { OS . GDK_KP_2 , SWT . KEYPAD_2 } , new int [ ] { OS . GDK_KP_3 , SWT . KEYPAD_3 } , new int [ ] { OS . GDK_KP_4 , SWT . KEYPAD_4 } , new int [ ] { OS . GDK_KP_5 , SWT . KEYPAD_5 } , new int [ ] { OS . GDK_KP_6 , SWT . KEYPAD_6 } , new int [ ] { OS . GDK_KP_7 , SWT . KEYPAD_7 } , new int [ ] { OS . GDK_KP_8 , SWT . KEYPAD_8 } , new int [ ] { OS . GDK_KP_9 , SWT . KEYPAD_9 } , new int [ ] { OS . GDK_KP_Equal , SWT . KEYPAD_EQUAL } , new int [ ] { OS . GDK_Caps_Lock , SWT . CAPS_LOCK } , new int [ ] { OS . GDK_Num_Lock , SWT . NUM_LOCK } , new int [ ] { OS . GDK_Scroll_Lock , SWT . SCROLL_LOCK } , new int [ ] { OS . GDK_Pause , SWT . PAUSE } , new int [ ] { OS . GDK_Break , SWT . BREAK } , new int [ ] { OS . GDK_Print , SWT . PRINT_SCREEN } , new int [ ] { OS . GDK_Help , SWT . HELP } } ; static Display Default ; static Display [ ] Displays = new Display [ 4 ] ; static final String PACKAGE_PREFIX = "org.eclipse.swt.widgets." ; static final Class OS_LOCK ; static final int MAJOR = 2 ; static final int MINOR = 0 ; static final int MICRO = 6 ; Object data ; String [ ] keys ; Object [ ] values ; int borderTrimWidth = 4 ; int borderTrimHeight = 4 ; int resizeTrimWidth = 6 ; int resizeTrimHeight = 6 ; int titleBorderTrimWidth = 5 ; int titleBorderTrimHeight = 28 ; int titleResizeTrimWidth = 6 ; int titleResizeTrimHeight = 29 ; int titleTrimWidth = 0 ; int titleTrimHeight = 23 ; static void setDevice ( Device device ) { } public Display ( ) { } public Display ( DeviceData data ) { } public void addFilter ( int eventType , Listener listener ) { } void addGdkEvent ( int event ) { } public void addListener ( int eventType , Listener listener ) { } void addMouseHoverTimeout ( int handle ) { } void addPopup ( Menu menu ) { } void addWidget ( int handle , Widget widget ) { } 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 ) ; } } } int checkIfEventProc ( int display , int xEvent , int userData ) { } protected void checkSubclass ( ) { } public void close ( ) { } protected void create ( DeviceData data ) { } synchronized void createDisplay ( DeviceData data ) { } Image createImage ( String name ) { } synchronized void deregister ( ) { } protected void destroy ( ) { } void destroyDisplay ( ) { } public static synchronized Display findDisplay ( Thread thread ) { } public void disposeExec ( Runnable runnable ) { } void error ( int code ) { } int eventProc ( int event , int data ) { } public Widget findWidget ( int handle ) { } public Widget findWidget ( int handle , int id ) { } static int fixedClassInitProc ( int g_class , int class_data ) { } static int fixedMapProc ( int handle ) { } void flushExposes ( int window , boolean all ) { } public Shell getActiveShell ( ) { } public Rectangle getBounds ( ) { } public static synchronized Display getCurrent ( ) { } int getCaretBlinkTime ( ) { } public Control getCursorControl ( ) { } boolean filterEvent ( Event event ) { } boolean filters ( int eventType ) { } int filterProc ( int xEvent , int gdkEvent , int data ) { } public Point getCursorLocation ( ) { } public Point [ ] getCursorSizes ( ) { } public Object getData ( String key ) { }

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