8181788: Unable to build JDK10 on SPARC-M8 machines

Reviewed-by: tbell
This commit is contained in:
Erik Joelsson 2017-06-08 16:36:06 +02:00
parent fe00fb8af6
commit fde342fc81

View File

@ -387,7 +387,7 @@ var getJibProfilesCommon = function (input, data) {
// on such hardware.
if (input.build_cpu == "sparcv9") {
var cpu_brand = $EXEC("bash -c \"kstat -m cpu_info | grep brand | head -n1 | awk '{ print \$2 }'\"");
if (cpu_brand.trim().match('SPARC-.7')) {
if (cpu_brand.trim().match('SPARC-.[78]')) {
boot_jdk_revision = "8u20";
boot_jdk_subdirpart = "1.8.0_20";
}