Skip to content

Commit 8010da5

Browse files
fix(java): initialize classes at build-time to address native image 22.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 <[email protected]>
1 parent 232a42f commit 8010da5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<dependency>
7070
<groupId>com.google.cloud</groupId>
7171
<artifactId>google-cloud-shared-dependencies</artifactId>
72-
<version>3.0.4</version>
72+
<version>3.0.5</version>
7373
<type>pom</type>
7474
<scope>import</scope>
7575
</dependency>
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
Args = --initialize-at-build-time==com.google.cloud.spanner.IntegrationTestEnv,\
22
com.google.cloud.spanner.jdbc.it.JdbcIntegrationTestEnv,\
3-
com.google.common.collect.RegularImmutableMap
3+
com.google.common.collect.RegularImmutableMap,\
4+
com.google.cloud.spanner.Dialect,\
5+
com.google.spanner.admin.database.v1.DatabaseDialect,\
6+
org.junit.runners.MethodSorters

0 commit comments

Comments
 (0)