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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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

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

              Created:
              Updated:
              Resolved: