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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b120

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: