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

    • b10

        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:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: