--- old/src/solaris/classes/sun/awt/X11/XDesktopPeer.java 2018-09-12 17:37:08.011423227 +0530 +++ new/src/solaris/classes/sun/awt/X11/XDesktopPeer.java 2018-09-12 17:37:07.671423227 +0530 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2018, 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 @@ -25,6 +25,7 @@ package sun.awt.X11; +import sun.awt.UNIXToolkit; import java.io.File; import java.io.IOException; @@ -57,7 +58,8 @@ XToolkit.awtLock(); try { if (!initExecuted) { - nativeLibraryLoaded = init(); + nativeLibraryLoaded = init(UNIXToolkit.getEnabledGtkVersion() + .getNumber(), UNIXToolkit.isGtkVerbose()); } } finally { initExecuted = true; @@ -123,5 +125,5 @@ } private native boolean gnome_url_show(byte[] url); - private static native boolean init(); + private static native boolean init(int gtkVersion, boolean verbose); }