Skip to content

Commit 3a771fd

Browse files
authored
fix: add native image configurations for com.google.rpc classes (#2305)
* fix: add native image configurations for com.google.rpc classes * update graalvm continuous jobs to 22.3.3
1 parent eff4a09 commit 3a771fd

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

.kokoro/continuous/graalvm-native-17.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.2"
6+
value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.3"
77
}
88

99
env_vars: {

.kokoro/continuous/graalvm-native.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.2"
6+
value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.3"
77
}
88

99
env_vars: {

google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-bigquerystorage/reflect-config.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,23 @@
33
"name":"java.lang.Object",
44
"allDeclaredFields":true,
55
"queryAllDeclaredMethods":true,
6-
"methods":[{"name":"<init>","parameterTypes":[] }]}
6+
"methods":[{"name":"<init>","parameterTypes":[] }]},
7+
{
8+
"name": "com.google.rpc.RetryInfo",
9+
"queryAllDeclaredConstructors": true,
10+
"queryAllPublicConstructors": true,
11+
"queryAllDeclaredMethods": true,
12+
"allPublicMethods": true,
13+
"allDeclaredClasses": true,
14+
"allPublicClasses": true
15+
},
16+
{
17+
"name": "com.google.rpc.RetryInfo$Builder",
18+
"queryAllDeclaredConstructors": true,
19+
"queryAllPublicConstructors": true,
20+
"queryAllDeclaredMethods": true,
21+
"allPublicMethods": true,
22+
"allDeclaredClasses": true,
23+
"allPublicClasses": true
24+
}
725
]

0 commit comments

Comments
 (0)