From b25600bdbebb15aa83d4f08b7a87d3bba384448a Mon Sep 17 00:00:00 2001 From: Alexander Zvegintsev Date: Fri, 18 Jul 2014 13:53:33 +0400 Subject: [PATCH] 8048289: Gtk: call to UIManager.getSystemLookAndFeelClassName() leads to crash Reviewed-by: anthony, serb --- jdk/src/solaris/native/sun/awt/gtk2_interface.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jdk/src/solaris/native/sun/awt/gtk2_interface.c b/jdk/src/solaris/native/sun/awt/gtk2_interface.c index f61fee0b09d..8204b8d4836 100644 --- a/jdk/src/solaris/native/sun/awt/gtk2_interface.c +++ b/jdk/src/solaris/native/sun/awt/gtk2_interface.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -433,7 +433,8 @@ gboolean gtk2_check_version() result = TRUE; } - dlclose(lib); + // 8048289: workaround for https://bugzilla.gnome.org/show_bug.cgi?id=733065 + // dlclose(lib); return result; }