Replace usage of -Djdk.launcher.limitmods in tests with -limitmods

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • b120

      Replace usage of -Djdk.launcher.limitmods, in several networking and NIO tests, with -limitmods when jtreg with support for -limitmods is widely available.

      The current set of tests using this are:
         * @run main/othervm -Djdk.launcher.limitmods=java.base OptionsTest
      ./java/net/SocketOption/OptionsTest.java
       * @run main/othervm -Djdk.launcher.limitmods=java.base UnsupportedOptionsTest
      ./java/net/SocketOption/UnsupportedOptionsTest.java
       * @run main/othervm -Djdk.launcher.limitmods=java.base SocketOptionTests
      ./java/nio/channels/DatagramChannel/SocketOptionTests.java
       * @run main/othervm -Djdk.launcher.limitmods=java.base SocketOptionTests
      ./java/nio/channels/SocketChannel/SocketOptionTests.java
       * @run main/othervm -Djdk.launcher.limitmods=java.base SocketOptionTests
      ./java/nio/channels/ServerSocketChannel/SocketOptionTests.java

            Assignee:
            Chris Hegarty
            Reporter:
            Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: