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

Update GitHub Actions to use JDK 17 for building jtreg

XMLWordPrintable

    • b02
    • generic
    • windows

        Update GitHub Actions to use pre-installed JDK 17 for building jtreg, as the current pre-installed JDK 11 fails with the following error:

        ```
            /bin/sh: line 1: C:/hostedtoolcache/windows/Java_Temurin-Hotspot_jdk/11.0.19-7/x64/bin/javac: Bad address
            make: *** [jtdiff.gmk:36: D:/a/jdk/jdk/jtreg/src/build/classes.com.sun.javatest.diff.ok] Error 126
            Error: Process completed with exit code 2.
        ```

        Switching from 11 to 17 seems to mend the (unknown underlying) issue for the time being.

              cstein Christian Stein
              cstein Christian Stein
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: