8198649: Switch AWT/Swing's default GTK version to 3
Reviewed-by: psadhukhan, kaddepalli
--- a/src/java.desktop/unix/native/libawt_xawt/awt/gtk_interface.c Mon Mar 19 10:46:31 2018 -0700
+++ b/src/java.desktop/unix/native/libawt_xawt/awt/gtk_interface.c Mon Mar 19 11:29:50 2018 -0700
@@ -45,18 +45,18 @@
static GtkLib gtk_libs[] = {
{
+ GTK_3,
+ JNI_LIB_NAME("gtk-3"),
+ VERSIONED_JNI_LIB_NAME("gtk-3", "0"),
+ >k3_load,
+ >k3_check
+ },
+ {
GTK_2,
JNI_LIB_NAME("gtk-x11-2.0"),
VERSIONED_JNI_LIB_NAME("gtk-x11-2.0", "0"),
>k2_load,
>k2_check
- },
- {
- GTK_3,
- JNI_LIB_NAME("gtk-3"),
- VERSIONED_JNI_LIB_NAME("gtk-3", "0"),
- >k3_load,
- >k3_check
}
};