New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First class support of native compilation with GraalVM #2475
Comments
Thanks for this. I think to integrate this, we will need to also include test cases, that check that the |
How about running the existing test cases twice? Once in JVM mode and once in native mode. That ensures it covers all cases. |
It looks like it should be possible to setup graalvm in ci: https://github.com/graalvm/setup-graalvm |
It looks like the graal native maven plugin does a lot for us. I started #2476 to add graal native-image to ci. I ran into:
and don't know how to proceed... |
Try to register the field
|
Also, according to the release notes of JUnit 5.10.0:
|
According to GraalVM docs, native image configuration can be embedded within the jar file. For JDBI, it would be at this path:
To register classes of
jdbi3-core
for reflection, we can addrefelct-config.json
at this path:The content of the file would be something like:
then update
native-image.properties
to include it:For
jdbi3-sqlobject
, content ofrefelct-config.json
would be:For
jdbi3-postgres
, content ofrefelct-config.json
would be:For more on this, see this gist.
The text was updated successfully, but these errors were encountered: