Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org.graalvm.nativeimage.Platform redefinition since GraalVM 22.1 #1121

Closed
jperedadnr opened this issue Feb 15, 2022 · 0 comments · Fixed by #1123
Closed

org.graalvm.nativeimage.Platform redefinition since GraalVM 22.1 #1121

jperedadnr opened this issue Feb 15, 2022 · 0 comments · Fixed by #1123
Assignees

Comments

@jperedadnr
Copy link
Contributor

After oracle/graal#4171 was merged, the native platforms are redefined

Therefore, current integration tests using graalvm-dev from head fail on macOS with:

[SUB] Error: Could not instantiate platform class org.graalvm.nativeimage.Platform$DARWIN_AMD64. Ensure the class is not abstract and has a no-argument constructor.
[SUB] Error: Image build request failed with exit status 1

Substrate will need a check of use org.graalvm.nativeimage.Platform$DARWIN_AMD64 before 22.1 or org.graalvm.nativeimage.Platform$MACOS_AMD64 after.

@johanvos johanvos self-assigned this Feb 18, 2022
johanvos added a commit to johanvos/substrate that referenced this issue Feb 18, 2022
johanvos added a commit that referenced this issue Feb 18, 2022
* Check GraalVM version before returning macos/darwin platform.
This closes #1121
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants