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

[TESTBUG] Put graalJarsCP before existing classpath in GraalUnitTestLauncher

XMLWordPrintable

    • b20
    • generic
    • generic

        We know that junit-4.12.jar is a dependency of jtreg graal unit test. In GraalUnitTestLauncher.java, we put this file path into graalJarsCP and concat it to current classpath. But existing classpath may contain another version of junit with which the jtreg tool is built. (According to the "Building jtreg" webpage[1], the recommended version is currently JUnit 4.10)

        In order to fix the incompatibility issue of different junit versions, the graalJarsCP should be put before when generating the new classpath string.

        [1] https://openjdk.java.net/jtreg/build.html

              pli Pengfei Li
              pli Pengfei Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: