mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
0.28.0 regression: Gradle Plugin fails with "Could not initialize class org.pkl.core.runtime.VmUtils" #286
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bioball on GitHub (Feb 26, 2025).
Seeing this error when updating pkl-jvm-examples to 0.28.0; here is the full trace on my machine:
@bioball commented on GitHub (Feb 27, 2025):
Looks like this is happening because Gradle doesn't play nice with native libraries when used in plugins: https://discuss.gradle.org/t/loading-a-native-library-in-a-gradle-plugin/44854/4
We can use the fallback Truffle runtime instead, which avoids loading native libraries; convo with the Truffle folks here: https://graalvm.slack.com/archives/CNQSB2DHD/p1740602881715309