snowflake-jdbc icon indicating copy to clipboard operation
snowflake-jdbc copied to clipboard

SNOW-413202: Include module-info in jar

Open markslater opened this issue 3 years ago • 2 comments

The Snowflake JDBC jar should support Java 9 modules.

The 3.13.6 jar actually includes a module-info.class, but it appears to be the Bouncy Castle one, presumably collected in the process of building a fat jar.

markslater avatar Aug 03 '21 08:08 markslater

@markslater Can you provide more detail on the use case you have and the issue you are running into because of this?

sfc-gh-hkapre avatar Aug 12 '21 20:08 sfc-gh-hkapre

I would like to generate a runtime image of my application using jlink, but this isn't possible unless all the application's dependencies include a module-info.class.

Providing a module-info.class would also help avoid applications inadvertently depending on internals of the Snowflake JDBC jar because it provides stronger encapsulation. The driver includes shadowed versions of a lot of popular libraries, so it is very easy for applications to import a shadowed class by mistake.

markslater avatar Aug 13 '21 08:08 markslater

To clean up and re-prioritize more pressing bugs and feature requests we are closing all issues older than 6 months as of March 1, 2023. If there are any issues or feature requests that you would like us to address, please create them according to the new templates we have created. For urgent issues, opening a support case with this link Snowflake Community is the fastest way to get a response.

sfc-gh-igarish avatar Mar 15 '23 03:03 sfc-gh-igarish