Skip to content

Commit

Permalink
fix(java): initialize classes at build-time to address native image 2…
Browse files Browse the repository at this point in the history
…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
mpeddada1 and renovate-bot committed Oct 26, 2022
1 parent 232a42f commit 8010da5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -69,7 +69,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-shared-dependencies</artifactId>
<version>3.0.4</version>
<version>3.0.5</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
@@ -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

0 comments on commit 8010da5

Please sign in to comment.