#hunta8992
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- hunta8992, 1 hour ago, 6 messages
we knwo nothing about this here.
but if you have questions specific to Stripe API, I'm happy to help
When you use Native Image to build native executables it only includes the elements reachable from your application entry point, its dependent libraries, and JDK classes discovered through static analysis. However, the reachability of some elements (such as classes, methods, or fields) may not be discoverable due to Java’s dynamic features including reflection, resource access, dynamic proxies, and serialization. If an element is not reachable, it is not included in the generated executable at build time, which can lead to failures at run time. Native Image has built-in metadata for JDK classes but user code and dependencies may use dynamic features of Java that are undiscoverable by the Native Image analysis. For this reason, Native Image accepts additional reachability metadata in the form of JSON files. Since this metadata is specific to a specific code base, the JSON files providing the corresponding metadata can be shared for libraries and frameworks.
there is initiative lead by oracle to cover reachability metadata for apps that do not have their own reachability metadata yet
https://github.com/oracle/graalvm-reachability-metadata
I wonder if stripe is planning to post their own reachability metadata for java SDK
Spring native is pretty popular topic with Spring boot 3
Hey! Taking over for my colleague. Let me catch up.
For now there is only Stripe Java SDK https://github.com/stripe/stripe-java
Nothing particular to Spring nor to GraalVM
got it, thx
It would be good to have it in the future releases 🙂
Java Native is not limited to Spring
Yes, but for now there is nothing in particular for GraalVM in the pipeline
I see, thanks for response