<Swing Dev> [9] Review request for JDK-8160650: Couple awt and swing tests have wrong require jtreg arguments

mikhail cherkasov mikhail.cherkasov at oracle.com
Thu Jun 30 13:01:13 UTC 2016


Hi all,

jbs: https://bugs.openjdk.java.net/browse/JDK-8160650
webrev:http://cr.openjdk.java.net/~mcherkas/8160650/9/webrev/

Couple awt and swing tests have wrong require jtreg arguments,
the following tests should use "os.family" instead of "os.name":

javax/swing/LookAndFeel/8145547/DemandGTK.java: @requires (os.name == 
"linux" | os.name == "solaris")
java/awt/TextArea/TextAreaCaretVisibilityTest/bug7129742.java: * 
@requires (os.family == "linux" | os.name == "solaris")
java/awt/WMSpecificTests/Mutter/MutterMaximizeTest.java: @requires 
(os.name == "linux" | os.name == "solaris")
java/awt/WMSpecificTests/Metacity/FullscreenDialogModality.java: * 
@requires (os.name == "linux" | os.name == "solaris")

see jtreg doc: http://openjdk.java.net/jtreg/tag-spec.html#requires_names

Thanks,
Mikhail.



More information about the swing-dev mailing list