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

Change compiler tests without additional VM flags from @run driver to @run main

    XMLWordPrintable

Details

    • b21

    Description

      There are a lot of compiler tests which are currently using `@run driver myclass` when no additional VM flag must be set. However, this completely disables any flag passing by -javaoptions or -vmoptions. As a consequence, the CI will never execute the test with other flag combinations.

      The better alternative is to use `@run main myclass` which still allows us to pass flags from the outside to the test, for example by the CI.

      Attachments

        Issue Links

          Activity

            People

              enikitin Evgeny Nikitin
              chagedorn Christian Hagedorn
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: