# HG changeset patch # User prr # Date 1524242685 25200 # Node ID a4a0d0ece02200e144af72f09a1005147dc56284 # Parent d70bc48b2a20ec14daace96686020fda134188a4 8200313: java/awt/Gtk/GtkVersionTest/GtkVersionTest.java fails Reviewed-by: serb, kaddepalli diff -r d70bc48b2a20 -r a4a0d0ece022 test/jdk/java/awt/Gtk/GtkVersionTest/GtkVersionTest.java --- a/test/jdk/java/awt/Gtk/GtkVersionTest/GtkVersionTest.java Fri Apr 20 09:05:05 2018 -0700 +++ b/test/jdk/java/awt/Gtk/GtkVersionTest/GtkVersionTest.java Fri Apr 20 09:44:45 2018 -0700 @@ -23,7 +23,7 @@ /* @test * @key headful - * @bug 8156121 + * @bug 8156121 8200313 * @summary "Fail forward" fails for GTK3 if no GTK2 available * @modules java.desktop/sun.awt * @requires (os.family == "linux") @@ -32,8 +32,9 @@ import sun.awt.UNIXToolkit; -import java.awt.*; -import java.io.*; +import java.awt.Toolkit; +import java.io.BufferedReader; +import java.io.InputStreamReader; public class GtkVersionTest { public static class LoadGtk { @@ -43,7 +44,7 @@ } public static void main(String[] args) throws Exception { - test(null, "2"); + test(null, "3"); test("2", "2"); test("2.2", "2"); test("3", "3");