Buggy code:
public static final int PANGO_TYPE_FONT_DESCRIPTION ( ) { } public static native final int _PANGO_TYPE_LAYOUT ( ) { } public static final int PANGO_TYPE_LAYOUT ( ) { } public static native final int _dlclose ( int handle ) { } public static final int dlclose ( int handle ) { } public static native final int _dlopen ( byte [ ] filename , int flag ) { } public static final int dlopen ( byte [ ] filename , int flag ) { } public static native final int _dlsym ( int handle , byte [ ] symbol ) { } public static final int dlsym ( int handle , byte [ ] symbol ) { } public static native final int _g_app_info_create_from_commandline ( byte [ ] commandline , byte [ ] applName , int flags , int error ) { } public static final int g_app_info_create_from_commandline ( byte [ ] commandline , byte [ ] applName , int flags , int error ) { } public static native final int _g_app_info_get_all ( ) { } public static final int g_app_info_get_all ( ) { } public static native final int _g_app_info_get_executable ( int appInfo ) { } public static final int g_app_info_get_executable ( int appInfo ) { } public static native final int _g_app_info_get_icon ( int appInfo ) { } public static final int g_app_info_get_icon ( int appInfo ) { } public static native final int _g_app_info_get_id ( int appInfo ) { } public static final int g_app_info_get_id ( int appInfo ) { } public static native final int _g_app_info_get_name ( int appInfo ) { } public static final int g_app_info_get_name ( int appInfo ) { } public static native final boolean _g_app_info_launch ( int appInfo , int list , int launchContext , int error ) { } public static final boolean g_app_info_launch ( int appInfo , int list , int launchContext , int error ) { } public static native final int _g_app_info_get_default_for_type ( byte [ ] mimeType , boolean mustSupportURIs ) { } public static final int g_app_info_get_default_for_type ( byte [ ] mimeType , boolean mustSupportURIs ) { } public static native final boolean _g_app_info_launch_default_for_uri ( int uri , int launchContext , int error ) { } public static final boolean g_app_info_launch_default_for_uri ( int appInfo , int launchContext , int error ) { } public static native final boolean _g_app_info_should_show ( int appInfo ) { } public static final boolean g_app_info_should_show ( int appInfo ) { } public static native final boolean _g_app_info_supports_uris ( int appInfo ) { } public static final boolean g_app_info_supports_uris ( int appInfo ) { } public static native final int _g_data_input_stream_new ( int input_stream ) { } public static final int g_data_input_stream_new ( int input_stream ) { } public static native final int _g_data_input_stream_read_line ( int stream , int [ ] count , int cancellable , int error ) { } public static final int g_data_input_stream_read_line ( int stream , int [ ] count , int cancellable , int error ) { } public static native final boolean _g_content_type_equals ( int type1 , byte [ ] type2 ) { } public static final boolean g_content_type_equals ( int type1 , byte [ ] type2 ) { } public static native final boolean _g_content_type_is_a ( int type , byte [ ] supertype ) { } public static final boolean g_content_type_is_a ( int type , byte [ ] supertype ) { } public static native final int _g_content_type_get_mime_type ( byte [ ] mime_type ) { } public static final int g_content_type_get_mime_type ( byte [ ] mime_type ) { } public static native final int _g_content_types_get_registered ( ) { } public static final int g_content_types_get_registered ( ) { } public static native final int _g_desktop_app_info_new_from_filename ( byte [ ] fileName ) { } public static final int g_desktop_app_info_new_from_filename ( byte [ ] fileName ) { } public static native final int _g_file_info_get_content_type ( int info ) { } public static final int g_file_info_get_content_type ( int info ) { lock . lock ( ) ; try { <START_BUG> return OS . g_file_info_get_content_type ( info ) ; <END_BUG> } finally { lock . unlock ( ) ; } } public static native final int _g_file_get_path ( int file ) { } public static final int g_file_get_path ( int file ) { } public static native final int _g_file_get_uri ( int file ) { } public static final int g_file_get_uri ( int file ) { } public static native final void _g_file_info_get_modification_time ( int info , int [ ] result ) { } public static final void g_file_info_get_modification_time ( int info , int [ ] result ) { } public static native final int _g_file_icon_get_file ( int icon ) { } public static final int g_file_icon_get_file ( int icon ) { } public static native final int _g_file_new_for_path ( byte [ ] fileName ) { } public static final int g_file_new_for_path ( byte [ ] fileName ) { } public static native final int _g_file_query_info ( int file , byte [ ] attributes , int flags , int cancellable , int error ) { } public static final int g_file_query_info ( int file , byte [ ] attributes , int flags , int cancellable , int error ) { } public static native final int _g_file_read ( int file , int cancellable , int error ) { } public static final int g_file_read ( int file , int cancellable , int error ) { } public static native final boolean _g_file_test ( byte [ ] file , int test ) { } public static final boolean g_file_test ( byte [ ] file , int test ) { } public static native final int _g_icon_to_string ( int icon ) { } public static final int g_icon_to_string ( int icon ) { } public static native final int _g_icon_new_for_string ( byte [ ] str , int [ ] error ) { } public static final int g_icon_new_for_string ( byte [ ] str , int [ ] error ) { }

Fix:
return OS . _g_file_info_get_content_type ( info ) ;