• b07
    • generic
    • generic

        Currently, the testcase test/jdk/tools/jlink/JLinkReproducibleTest.java doesn't receive jvm options from jtreg.
        I think it's necessory to receive jvm options from jtreg.

        In the process of verifying the JDK-8321509 problem fix solutions, we need to configure jvm options to verify the effectiveness of some of the fixe solutions. During the verification process, we found that the test case would start a new java process during the test, but the started java child process did not receive the jvm options configured from the parent process, resulting in the failure of the fix verification to continue normally. Therefore, it is necessary to pass in the jvm options configured from the parent process when starting the child java process.
        On the other hand, during the jtreg test execution process, if a java child process is started, under normal circumstances, the started child process should pass in the jvm options configured from jtreg by default, such as the -vmoption option value configured by jtreg. If the test case does not support or does not want to receive the jvm options configured from jtreg, the '@requires vm.flagless' tag should be configured in the test case. If the child java process wants to ignore the jvm options from parent process, there should add some comments to explain the ignore reason.

        This fix similar to JDK-8157850, no risk.

              syan Sendao Yan
              syan Sendao Yan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: