--- old/src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c 2016-05-02 10:08:25.591126900 -0700 +++ new/src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c 2016-05-02 10:08:25.435126902 -0700 @@ -30,6 +30,7 @@ #include #include #include +#include #include #include "awt.h" --- old/src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c 2016-05-02 10:08:26.107126891 -0700 +++ new/src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c 2016-05-02 10:08:25.955126894 -0700 @@ -2547,14 +2547,14 @@ static jobject get_integer_property(JNIEnv *env, GtkSettings* settings, const gchar* key) { - gint intval = NULL; + gint intval = 0; (*fp_g_object_get)(settings, key, &intval, NULL); return create_Integer(env, intval); } static jobject get_boolean_property(JNIEnv *env, GtkSettings* settings, const gchar* key) { - gint intval = NULL; + gint intval = 0; (*fp_g_object_get)(settings, key, &intval, NULL); return create_Boolean(env, intval); }