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

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

    XMLWordPrintable

Details

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

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

              Dates

                Created:
                Updated:
                Resolved: