mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-13 23:19:36 +00:00
8308246: PPC64le build broken after JDK-8304913
Reviewed-by: shade, mbaesken
This commit is contained in:
parent
5763be7267
commit
64f6681cc7
@ -50,8 +50,9 @@ public record Platform(OperatingSystem os, Architecture arch) {
|
||||
OperatingSystem os = OperatingSystem.valueOf(osName.toUpperCase(Locale.ROOT));
|
||||
|
||||
archName = platformString.substring(index + 1);
|
||||
// Alias architecture "amd64" to "X64"
|
||||
// Alias architecture names, if needed
|
||||
archName = archName.replace("amd64", "X64");
|
||||
archName = archName.replace("ppc64le", "PPC64");
|
||||
Architecture arch = Architecture.valueOf(archName.toUpperCase(Locale.ROOT));
|
||||
|
||||
return new Platform(os, arch);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user