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

[TEST] Use @requires tag instead of exiting based on "os.name" property value for sun/net/www/protocol/file/FileURLTest.java

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • core-libs

      Refactor remove the test logic for Windows OS and replace with jtreg check for os

              String name = System.getProperty("os.name");
              if (name.startsWith("Windows")) { . . .

      replace with

      * @requires os.family == "windows"

            dconway Darragh Conway
            msheppar Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: