helidon-io / helidon

Java libraries for writing microservices
https://helidon.io
Apache License 2.0
3.44k stars 562 forks source link

Document that GraalVM Native Images are expected to be used on specific versions of the JDK #8895

Open david-cabelus-oracle opened 2 weeks ago

david-cabelus-oracle commented 2 weeks ago

Environment Details


Problem Description

Changes in many versions of GraalVM break the native image capabilities in Helidon. The team tests each major and minor release of Helidon with the minimum version of the JDK. For example, we extensively test Helidon Native Image in Helidon 4.0.x with the Java 21 version of GraalVM. The combination of the JDK version and the Helidon version constitutes a grouping that we know will work.

We must document this expectation clearly: when creating GraalVM native images, use the minimum JDK version for the Helidon release.