Skip to content

Commit 2e248fa

Browse files
chore: adjust native-image config for spring-cloud-gcp
Context: upgrading to GraalVM for JDK 23 Updating the image support in spring (GoogleCloudPlatform/spring-cloud-gcp#3536) caused errors at analysis time solved by GoogleCloudPlatform/spring-cloud-gcp@d3f6185 Gax seems to be a better place for this kind of configs.
1 parent c760c8e commit 2e248fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gax-java/gax/src/main/resources/META-INF/native-image/com.google.api/gax/native-image.properties

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Args = --enable-url-protocols=https,http \
44
com.google.api.gax.core.GaxProperties,\
55
com.google.common.base.Platform,\
66
com.google.common.base.Platform$JdkPatternCompiler,\
7-
com.google.protobuf.RuntimeVersion \
7+
com.google.protobuf.RuntimeVersion,\
8+
com.google.protobuf.RuntimeVersion$RuntimeDomain \
89
--features=com.google.api.gax.nativeimage.OpenCensusFeature,\
910
com.google.api.gax.nativeimage.GoogleJsonClientFeature \
1011
--add-modules=jdk.httpserver

0 commit comments

Comments
 (0)