--- old/src/hotspot/.mx.jvmci/mx_jvmci.py 2017-10-27 22:55:38.000000000 +0200 +++ new/src/hotspot/.mx.jvmci/mx_jvmci.py 2017-10-27 22:55:38.000000000 +0200 @@ -45,7 +45,7 @@ """ Top level directory of the JDK source workspace. """ -_jdkSourceRoot = dirname(_suite.dir) +_jdkSourceRoot = dirname(dirname(_suite.dir)) _JVMCI_JDK_TAG = 'jvmci' @@ -155,11 +155,11 @@ jdkBuildDir = _get_jdk_build_dir() if not exists(jdkBuildDir): - # JDK9 must be bootstrapped with a JDK8 - compliance = mx.JavaCompliance('8') - jdk8 = mx.get_jdk(compliance.exactMatch, versionDescription=compliance.value) + # JDK10 must be bootstrapped with a JDK9 + compliance = mx.JavaCompliance('9') + jdk9 = mx.get_jdk(compliance.exactMatch, versionDescription=compliance.value) cmd = ['sh', 'configure', '--with-debug-level=' + _vm.debugLevel, '--with-native-debug-symbols=external', '--disable-precompiled-headers', '--with-jvm-features=graal', - '--with-jvm-variants=' + _vm.jvmVariant, '--disable-warnings-as-errors', '--with-boot-jdk=' + jdk8.home, '--with-jvm-features=graal'] + '--with-jvm-variants=' + _vm.jvmVariant, '--disable-warnings-as-errors', '--with-boot-jdk=' + jdk9.home, '--with-jvm-features=graal'] mx.run(cmd, cwd=_jdkSourceRoot) cmd = [mx.gmake_cmd(), 'CONF=' + _vm.debugLevel] if mx.get_opts().verbose: