From 790b89f62b39b63498d2a41b6be497e62dfac4cf Mon Sep 17 00:00:00 2001 From: Mridula Peddada Date: Fri, 7 Oct 2022 13:52:48 -0400 Subject: [PATCH] fix(java): address ClassNotFoundException in GraalVM 22.2.0 --- .../native-image/com.google.api/gax/native-image.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gax/src/main/resources/META-INF/native-image/com.google.api/gax/native-image.properties b/gax/src/main/resources/META-INF/native-image/com.google.api/gax/native-image.properties index ef5493f67..d411aa2e5 100644 --- a/gax/src/main/resources/META-INF/native-image/com.google.api/gax/native-image.properties +++ b/gax/src/main/resources/META-INF/native-image/com.google.api/gax/native-image.properties @@ -4,4 +4,5 @@ Args = --enable-url-protocols=https,http \ org.junit.platform.engine.TestTag \ --initialize-at-run-time=com.google.api.client.googleapis.services.AbstractGoogleClientRequest$ApiClientVersion \ --features=com.google.api.gax.nativeimage.OpenCensusFeature,\ - com.google.api.gax.nativeimage.GoogleJsonClientFeature + com.google.api.gax.nativeimage.GoogleJsonClientFeature \ + --add-modules=jdk.httpserver