You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-10-24 11:51:23.628 WARN [o.g.t.i.u.v.UsedVersion$MVersion] (of) Failed to correctly parse native-image version command output. Is it on PATH? Unknown version format? Output reads in 4 lines, see them in an array: [WARNING: Unknown module: org.graalvm.truffle specified to --enable-native-access, native-image 24-beta 2025-03-18, OpenJDK Runtime Environment Mandrel-24.2.0-deve05805b1084 (build 24-beta+20-ea), OpenJDK 64-Bit Server VM Mandrel-24.2.0-deve05805b1084 (build 24-beta+20-ea, mixed mode)]
when the output is:
WARNING: Unknown module: org.graalvm.truffle specified to --enable-native-access
native-image 24-beta 2025-03-18
OpenJDK Runtime Environment Mandrel-24.2.0-deve05805b1084 (build 24-beta+20-ea)
OpenJDK 64-Bit Server VM Mandrel-24.2.0-deve05805b1084 (build 24-beta+20-ea, mixed mode)
We should ignore the warning and still parse the version to avoid test failures. If we want to test for warnings being present in the version command, then we should have a separate test for it.
The text was updated successfully, but these errors were encountered:
Drop everything until we see "GraalVM" or "native-image" in the output.
This way we can ignore warnings and other output that might be present.
FixesKarm#293
Drop everything until we see "GraalVM" or "native-image" in the output.
This way we can ignore warnings and other output that might be present.
Fixes#293
E.g. it throws
when the output is:
We should ignore the warning and still parse the version to avoid test failures. If we want to test for warnings being present in the
version
command, then we should have a separate test for it.The text was updated successfully, but these errors were encountered: