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

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

XMLWordPrintable

    • b21

      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.

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

              Created:
              Updated:
              Resolved: