8155613: [PIT] crash in AWT_Desktop/Automated/Exceptions/BasicTest
authorssadetsky
Fri, 29 Apr 2016 09:46:14 -0700
changeset 37716 86e2f05984f9
parent 37715 2feccf1e9f89
child 37717 31a7a0b5ade3
8155613: [PIT] crash in AWT_Desktop/Automated/Exceptions/BasicTest Reviewed-by: prr
jdk/src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c
jdk/src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c
--- a/jdk/src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c	Fri Apr 29 09:45:46 2016 -0700
+++ b/jdk/src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c	Fri Apr 29 09:46:14 2016 -0700
@@ -442,6 +442,7 @@
              fprintf(stderr, "dlsym(gtk_show_uri) returned NULL\n");
 #endif /* DEBUG */
         } else {
+            gtk->gtk_show_uri = fp_gtk_show_uri;
             update_supported_actions(env);
             success = TRUE;
         }
--- a/jdk/src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c	Fri Apr 29 09:45:46 2016 -0700
+++ b/jdk/src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c	Fri Apr 29 09:46:14 2016 -0700
@@ -195,6 +195,7 @@
         fprintf(stderr, "dlsym(gtk_show_uri) returned NULL\n");
 #endif /* DEBUG */
     } else {
+        gtk->gtk_show_uri = fp_gtk_show_uri;
         update_supported_actions(env);
         success = TRUE;
     }