8308347: [s390x] build broken after JDK-8304913

Reviewed-by: stuefe, rriggs
(cherry picked from commit a58e0ca9d2)
This commit is contained in:
Amit Kumar
2023-05-18 13:51:34 +00:00
committed by Vitaly Provodin
parent 86f11f343b
commit 621bcfced0

View File

@@ -53,6 +53,7 @@ public record Platform(OperatingSystem os, Architecture arch) {
// Alias architecture names, if needed
archName = archName.replace("amd64", "X64");
archName = archName.replace("ppc64le", "PPC64");
archName = archName.replace("s390x", "S390");
Architecture arch = Architecture.valueOf(archName.toUpperCase(Locale.ROOT));
return new Platform(os, arch);