Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8160650

Couple awt and swing tests have wrong require jtreg arguments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • client-libs
    • b127

      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

            mcherkas Mikhail Cherkasov (Inactive)
            mcherkas Mikhail Cherkasov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: