8160650: Couple awt and swing tests have wrong require jtreg arguments

Reviewed-by: serb
This commit is contained in:
Mikhail Cherkasov 2016-06-30 22:27:28 +03:00
parent e040960f7e
commit 31b9ea3ba7
4 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@
/* @test
* @bug 7129742
* @summary Focus in non-editable TextArea is not shown on Linux.
* @requires (os.family == "linux" | os.name == "solaris")
* @requires (os.family == "linux" | os.family == "solaris")
* @modules java.desktop/sun.awt
* java.desktop/java.awt.peer
* java.desktop/sun.awt.X11

View File

@ -25,7 +25,7 @@
* @test
* @bug 8012586
* @summary verify that modal dialog will appeared above fullscreen window under Metacity WM.
* @requires (os.name == "linux" | os.name == "solaris")
* @requires (os.family == "linux" | os.family == "solaris")
* @modules java.desktop/sun.awt.X11
* @library ../../regtesthelpers
* @build Util

View File

@ -28,7 +28,7 @@
@bug 7043963
@summary Tests that the screen location of windows is
updated properly after a maximize.
@requires (os.name == "linux" | os.name == "solaris")
@requires (os.family == "linux" | os.family == "solaris")
@modules java.desktop/sun.awt.X11
@author Denis Lila
@library ../../regtesthelpers

View File

@ -27,7 +27,7 @@
regardless of jdk.gtk.version flag values.
@bug 8156121
@key headful
@requires (os.name == "linux" | os.name == "solaris")
@requires (os.family == "linux" | os.family == "solaris")
@run main/othervm -Djdk.gtk.version=2 DemandGTK
@run main/othervm -Djdk.gtk.version=3 DemandGTK
*/