Buggy code:
public static native final int PtTextSetSelection ( int widget , int [ ] start , int [ ] end ) { } public static native final int PtTimer ( ) { } public static native final int PtToggleButton ( ) { } public static native final int PtToolbar ( ) { } public static native final void PtUnblockWindows ( int bl ) { } public static native final int PtUnrealizeWidget ( int widget ) { } public static native final int PtValidParent ( int widget_parent , int class_ref ) { } public static native final int PtWebClient ( ) { } public static native final int PtWidgetArea ( int widget , PhArea_t area ) { } public static native final int PtWidgetBrotherBehind ( int widget ) { } public static native final int PtWidgetBrotherInFront ( int widget ) { } public static native final int PtWidgetCanvas ( int widget , int canvas_rect ) { } public static native final int PtWidgetCanvas ( int widget , PhRect_t canvas_rect ) { } public static native final int PtWidgetChildBack ( int widget ) { } public static native final int PtWidgetChildFront ( int widget ) { } public static native final int PtWidgetClass ( int widget ) { } public static native final int PtWidgetExtent ( int widget , int extent ) { } public static native final int PtWidgetExtent ( int widget , PhRect_t extent ) { } public static native final int PtWidgetFlags ( int widget ) { } public static native final int PtWidgetInsert ( int widget , int new_sibling , int behind ) { } public static native final int PtWidgetIsClassMember ( int widget , int clazz ) { } public static native final boolean PtWidgetIsRealized ( int widget ) { } public static native final int PtWidgetOffset ( int widget , PhPoint_t offset ) { } public static native final int PtWidgetParent ( int widget ) { } public static native final int PtWidgetPreferredSize ( int widget , PhDim_t dim ) { } public static native final int PtWidgetRid ( int widget ) { } public static native final int PtWidgetToBack ( int widget ) { } public static native final int PtWidgetToFront ( int widget ) { } public static native final int PtWindow ( ) { } public static native final int PtWindowFocus ( int widget ) { } public static native final int PtWindowGetState ( int widget ) { } public static native final void PtWindowToBack ( int widget ) { } public static native final void PtWindowToFront ( int widget ) { } public static native final void memmove ( int dest , PhPoint_t src , int size ) { } public static native final void memmove ( int dest , PhTile_t src , int size ) { } public static native final void memmove ( PhTile_t dest , int src , int size ) { } public static native final void memmove ( PtCallbackInfo_t dest , int src , int size ) { } public static native final void memmove ( PhWindowEvent_t dest , int src , int size ) { } public static native final void memmove ( int dest , PhRect_t src , int size ) { } public static native final void memmove ( PhRect_t dest , int src , int size ) { } public static native final void memmove ( int dest , PhImage_t src , int size ) { } public static native final void memmove ( PhImage_t dest , int src , int size ) { } public static native final void memmove ( FontDetails dest , int src , int size ) { } public static native final void memmove ( int dest , PhPointerEvent_t src , int size ) { } public static native final void memmove ( PhPointerEvent_t dest , int src , int size ) { } public static native final void memmove ( PhEvent_t dest , int src , int size ) { } public static native final void memmove ( int dest , PhEvent_t src , int size ) { } public static native final void memmove ( PhKeyEvent_t dest , int src , int size ) { } public static native final void memmove ( PtScrollbarCallback_t dest , int src , int size ) { } public static native final void memmove ( int dest , PhArea_t src , int size ) { } public static native final void memmove ( PgAlpha_t dest , int src , int size ) { } public static native final void memmove ( int dest , PgAlpha_t src , int size ) { } public static native final void memmove ( PtTextCallback_t dest , int src , int size ) { } public static native final void memmove ( int dest , PtTextCallback_t src , int size ) { } public static native final void memmove ( PgMap_t dest , int src , int size ) { } public static native final void memmove ( int dest , PhCursorDef_t src , int size ) { } public static native final void memmove ( PhClipHeader dest , int src , int size ) { } public static native final void memmove ( byte [ ] dest , PhClipHeader src , int size ) { } public static native final void memmove ( PtWebStatusCallback_t dest , int src , int size ) { } public static native final void memmove ( PtWebDataReqCallback_t dest , int src , int size ) { } public static native final void memmove ( PtWebWindowCallback_t dest , int src , int size ) { } public static native final void memmove ( PtWebMetaDataCallback_t dest , int src , int size ) { } <START_BUG> public static native final void memmove ( int dest , PtWebClientData_t src , int size ) ; <END_BUG> public static native final int strdup ( int string ) { } public static native final int uname ( utsname udata ) { } }

Fix:
public static native final void memmove ( int dest , PtWebClient2Data_t src , int size ) ;