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

RuntimeException when running benchmarks through make on Windows/WSL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 21
    • 21
    • infrastructure

      https://bugs.openjdk.org/browse/JDK-8294982 added several --add-exports in make/RunTest.gmk, which are passed as VM arguments when running micro benchmarks through make.

      On Windows when running under WSL, it seems like fixpath is translating the / in these flags to \, and as a result a runtime exception occurs while running the benchmarks:

      Error occurred during initialization of boot layer
      java.lang.RuntimeException: Unable to parse --add-exports <module>/<package>: java.base\jdk.internal.org.objectweb.asm.tree
      <forked VM failed with exit code 1>
      <stdout last='20 lines'>
      Error occurred during initialization of boot layer
      java.lang.RuntimeException: Unable to parse --add-exports <module>/<package>: java.base\jdk.internal.org.objectweb.asm.tree
      </stdout>
      <stderr last='20 lines'>
      </stderr>

            liach Chen Liang
            jvernee Jorn Vernee
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: