-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Environment Details:
Helidon Version: 4.3.1
Java Version:
openjdk 25 2025-09-16
OpenJDK Runtime Environment GraalVM CE 25+37.1 (build 25+37-jvmci-b01)
OpenJDK 64-Bit Server VM GraalVM CE 25+37.1 (build 25+37-jvmci-b01, mixed mode, sharing)
Operating Sytem: Mac OS 15.3.2
Steps to reproduce
Run mvn package -Pnative-image in the helidon-quickstart-se directory.
The build fails with the following error.
Fatal error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: An object of type 'io.helidon.service.registry.ServiceLoader__ServiceDescriptor$ServiceProviderDescriptor' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
This is not allowed for correctness reasons: All objects that are stored in the image heap must be initialized at build time.
Metadata
Metadata
Assignees
Labels
No labels