Skip to content

Support for GraalVM native compilation #7369

@ThomasVitale

Description

@ThomasVitale

Describe the issue
It would be great if HAPI FHIR could be used in a Java application that is compiled to a native executable using GraalVM. The heavy use of reflection and dynamic behaviour would require dedicated configuration for the GraalVM compiler (without changing the code, though it would be overall useful to reduce the usage of Reflection). That can be provided as hints in the library (called reachability metadata).

Example of how they would look like: https://github.com/oracle/graalvm-reachability-metadata.

Environment (please complete the following information):

  • HAPI FHIR Version: 8.4.0
  • OS: N/A
  • Browser: N/A

Additional context
Previous discussion about this feature request is in #2788.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions