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

Tests in test/jdk/tools ignore VM flags that are passed when launching jtreg

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 25
    • tools
    • generic
    • generic

      Tests
      test/jdk/tools/launcher/modules/basic/BasicTest.java
      test/jdk/tools/jlink/JLinkReproducible3Test.java
      test/jdk/tools/jlink/JLinkReproducibleTest.java
      test/jdk/tools/jlink/multireleasejar/JLinkMRJavaBaseVersionTest.java
      test/jdk/tools/jlink/multireleasejar/JLinkMultiReleaseJarTest.java
      test/jdk/tools/jlink/plugins/SaveJlinkArgfilesPluginTest.java
      test/jdk/tools/jlink/plugins/AddOptionsPluginTest.java
      test/jdk/tools/jlink/plugins/VendorInfoPluginsTest.java
      test/jdk/tools/jlink/basic/BasicTest.java

      start java process ignoring VM flags. Needs to be updated.


      The tests should fork new VM using options set by jtreg or be marked as vm.flagless.

      The tests that shouldn't be executed with additional options needs to be marked with
      @requires vm.flagless

      The order of jtreg tags is:
          @test
          @bug
          @summary
          @key
          @requires
          ...

      Please feel free to change subcomponent/any other parameters in the sub-tasks.

            jpai Jaikiran Pai
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: