changeset 14344:844fe87d784d

8155613: [PIT] crash in AWT_Desktop/Automated/Exceptions/BasicTest Reviewed-by: prr
author ssadetsky
date Fri, 29 Apr 2016 09:46:14 -0700
parents bee22cd1ab09
children c6ee961ab61f
files src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c	Fri Apr 29 09:45:46 2016 -0700
+++ b/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/src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c	Fri Apr 29 09:45:46 2016 -0700
+++ b/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;
     }