Buggy code:
public static native final int NSAccessibilityRoleDescriptionForUIElement ( int element ) { } public static native final int NSAccessibilityUnignoredAncestor ( int element ) { } public static native final int NSAccessibilityUnignoredChildren ( int originalChildren ) { } public static native final int NSAccessibilityUnignoredChildrenForOnlyChild ( int originalChild ) { } public static native final int NSAccessibilityUnignoredDescendant ( int element ) { } public static native final void NSBeep ( ) { } public static native final int NSBitsPerPixelFromDepth ( int depth ) { } public static native final void NSCopyBits ( int srcGState , NSRect srcRect , NSPoint destPoint ) { } public static native final int NSNumberOfColorComponents ( int colorSpaceName ) { } public static native final int CFDataGetBytePtr ( int theData ) { } public static native final int CFDataGetLength ( int theData ) { } public static native final void CFRelease ( int cf ) { } public static native final void CFRunLoopAddObserver ( int rl , int observer , int mode ) { } public static native final int CFRunLoopGetCurrent ( ) { } public static native final int CFRunLoopObserverCreate ( int allocator , int activities , boolean repeats , int order , int callout , int context ) { } public static native final void CFRunLoopObserverInvalidate ( int observer ) { } public static native final int CFURLCreateStringByAddingPercentEscapes ( int allocator , int originalString , int charactersToLeaveUnescaped , int legalURLCharactersToBeEscaped , int encoding ) { } public static native final int CGBitmapContextCreate ( int data , int width , int height , int bitsPerComponent , int bytesPerRow , int colorspace , int bitmapInfo ) { } public static native final int CGBitmapContextCreateImage ( int c ) { } public static native final int CGBitmapContextGetData ( int c ) { } public static native final int CGColorSpaceCreateDeviceRGB ( ) { } public static native final void CGColorSpaceRelease ( int space ) { } public static native final void CGContextAddPath ( int context , int path ) { } public static native final void CGContextDrawImage ( int c , CGRect rect , int image ) { } public static native final void CGContextRelease ( int c ) { } public static native final void CGContextReplacePathWithStrokedPath ( int c ) { } public static native final void CGContextRestoreGState ( int c ) { } public static native final void CGContextSaveGState ( int c ) { } public static native final void CGContextSetLineCap ( int c , int cap ) { } public static native final void CGContextSetLineDash ( int c , float phase , float [ ] lengths , int count ) { } public static native final void CGContextSetLineJoin ( int c , int join ) { } public static native final void CGContextSetLineWidth ( int c , float width ) { } public static native final void CGContextSetMiterLimit ( int c , float limit ) { } public static native final void CGContextTranslateCTM ( int c , float tx , float ty ) { } public static native final int CGDataProviderCreateWithData ( int info , int data , int size , int releaseData ) { } public static native final void CGDataProviderRelease ( int provider ) { } public static native final int CGDisplayBaseAddress ( int display ) { } public static native final int CGDisplayBitsPerPixel ( int display ) { } public static native final int CGDisplayBitsPerSample ( int display ) { } public static native final int CGDisplayBytesPerRow ( int display ) { } public static native final int CGDisplayPixelsHigh ( int display ) { } public static native final int CGDisplayPixelsWide ( int display ) { } <START_BUG> public static native final int CGEnableEventStateCombining ( boolean doCombineState ) ; <END_BUG> public static native final long CGEventGetIntegerValueField ( int event , int field ) { } public static native final int CGGetDisplaysWithRect ( CGRect rect , int maxDisplays , int dspys , int dspyCnt ) { } public static native final int CGImageCreate ( int width , int height , int bitsPerComponent , int bitsPerPixel , int bytesPerRow , int colorspace , int bitmapInfo , int provider , int decode , boolean shouldInterpolate , int intent ) { } public static native final int CGImageGetHeight ( int image ) { } public static native final int CGImageGetWidth ( int image ) { } public static native final void CGImageRelease ( int image ) { } public static native final void CGPathAddCurveToPoint ( int path , int m , float cp1x , float cp1y , float cp2x , float cp2y , float x , float y ) { } public static native final void CGPathAddLineToPoint ( int path , int m , float x , float y ) { } public static native final void CGPathApply ( int path , int info , int function ) { } public static native final void CGPathCloseSubpath ( int path ) { } public static native final int CGPathCreateCopy ( int path ) { } public static native final int CGPathCreateMutable ( ) { } public static native final void CGPathMoveToPoint ( int path , int m , float x , float y ) { } public static native final void CGPathRelease ( int path ) { } public static native final int CGPostKeyboardEvent ( short keyChar , short virtualKey , boolean keyDown ) { } public static native final int CGPostMouseEvent ( CGPoint mouseCursorPosition , boolean updateMouseCursorPosition , int buttonCount , boolean mouseButtonDown , boolean varArg0 , boolean varArg1 , boolean varArg2 , boolean varArg3 ) { } public static native final int CGPostScrollWheelEvent ( int wheelCount , int wheel1 ) { } public static native final int CGSetLocalEventsFilterDuringSuppressionState ( int filter , int state ) { } public static native final int CGSetLocalEventsSuppressionInterval ( double seconds ) { } public static native final int CGWarpMouseCursorPosition ( CGPoint newCursorPosition ) { } public static native final boolean NSEqualRects ( NSRect aRect , NSRect bRect ) { }

Fix:
public static native final int CGEnableEventStateCombining ( int doCombineState ) ;