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

[TESTBUG] Put graalJarsCP before existing classpath in GraalUnitTestLauncher

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: