8200313: java/awt/Gtk/GtkVersionTest/GtkVersionTest.java fails
authorprr
Fri, 20 Apr 2018 09:44:45 -0700
changeset 50000 a4a0d0ece022
parent 49999 d70bc48b2a20
child 50001 7985d51b85df
8200313: java/awt/Gtk/GtkVersionTest/GtkVersionTest.java fails Reviewed-by: serb, kaddepalli
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");