-
Notifications
You must be signed in to change notification settings - Fork 118
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
fix: Configure unix socket library for Graalvm #1961
Conversation
1009cc4
to
a8977cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a "partial" fix of the linked issue? Or a complete fix?
This is a complete fix. I've updated the comment. |
cc @mpeddada1 as FYI |
-H:ReflectionConfigurationResources=META-INF/native-image/com.google.cloud.sql/cloud-sql-jdbc-socket-factory-parent/jni-unix-socket-config.json \ | ||
-H:ResourceConfigurationResources=META-INF/native-image/com.google.cloud.sql/cloud-sql-jdbc-socket-factory-parent/resource-config.json \ | ||
-H:DynamicProxyConfigurationResources=META-INF/native-image/com.google.cloud.sql/cloud-sql-jdbc-socket-factory-parent/proxy-config.json \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
optional q: I wonder if we need to specify these JSONs in native-image.properties? The compiler automatically picks up config files under the META-INF/native-image
directory if the files follow a standard naming pattern (link)
This is a fix for the graalvm configuration issues related to the jnr.unixsocket library.
Fixes #1940