Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(java): initialize classes at build-time to address native image 2…
…2.2.0 issues (#1026) * deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 * fix(java): initialize class at build-time to address 22.2.0 native-image issues * add junit class for built-time initialization Co-authored-by: Renovate Bot <bot@renovateapp.com>
- Loading branch information
1 parent
232a42f
commit 8010da5
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
.../META-INF/native-image/com.google.cloud/google-cloud-spanner-jdbc/native-image.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
Args = --initialize-at-build-time==com.google.cloud.spanner.IntegrationTestEnv,\ | ||
com.google.cloud.spanner.jdbc.it.JdbcIntegrationTestEnv,\ | ||
com.google.common.collect.RegularImmutableMap | ||
com.google.common.collect.RegularImmutableMap,\ | ||
com.google.cloud.spanner.Dialect,\ | ||
com.google.spanner.admin.database.v1.DatabaseDialect,\ | ||
org.junit.runners.MethodSorters |