Skip to content

Plugin not respecting arm64 architectures #468

@pariser

Description

@pariser

Despite the fact that Graal has released builds for arm64 as of 21.0, it looks like this plugin is not respecting my architecture and always defaulting to amd64

private String getArchitecture() {
switch (Platform.architecture()) {
case AMD64:
return "amd64";
default:
throw new IllegalStateException("No GraalVM support for " + Platform.architecture());
}
}

Note that the presence of the substring "64" does not differentiate between amd64 and aarch64 (arm64).

public static Architecture architecture() {
String arch = System.getProperty("os.arch");
if (arch.contains("64")) {
return Architecture.AMD64;
}
return Architecture.UNKNOWN;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions