Temurin-build: HotSpot JDK11 builds failing to bootstrap with JDK10

Created on 28 Nov 2019  路  1Comment  路  Source: adoptium/temurin-build

Ref: http://mail.openjdk.java.net/pipermail/jdk-updates-dev/2019-November/002172.html

As per the normal rule, we currently build JDK11 using JDK10 as the bootstrap, but this has been broken. Based on the mailing list we expect a fix to be forthcoming.

=== Output from failing command(s) repeated here ===
* For target buildtools_jdk_tools_classes__the.BUILD_TOOLS_JDK_batch:
/ramdisk0/build/workspace/build-scripts/jobs/jdk11u/jdk11u-aix-ppc64-hotspot/workspace/build/src/make/jdk/src/classes/build/tools/generatecacerts/GenerateCacerts.java:84: error: cannot find symbol
        List<String> entries = Files.list(Path.of(dir))
                                              ^
  symbol:   method of(String)
  location: interface Path
/ramdisk0/build/workspace/build-scripts/jobs/jdk11u/jdk11u-aix-ppc64-hotspot/workspace/build/src/make/jdk/src/classes/build/tools/generatecacerts/GenerateCacerts.java:97: error: cannot find symbol
            try (InputStream fis = Files.newInputStream(Path.of(dir, entry))) {
                                                            ^
  symbol:   method of(String,String)
  location: interface Path
Reported to OpenJDK / JBS bug

>All comments

Holding @sxa555 responsible to revert this at the right time ;-)

Was this page helpful?
0 / 5 - 0 ratings