From eca1a03c5d7656179a04058a2af94300f1dc0930 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Mon, 17 Oct 2022 13:03:46 -0400 Subject: [PATCH] fix: avoid unexpected initialization of `JacksonParser` in Graal 22.2 (#1709) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../com/google/cloud/storage/native-image.properties | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/google-cloud-storage/src/test/resources/META-INF/native-image/com/google/cloud/storage/native-image.properties b/google-cloud-storage/src/test/resources/META-INF/native-image/com/google/cloud/storage/native-image.properties index 9f5d52d81e..00d101779f 100644 --- a/google-cloud-storage/src/test/resources/META-INF/native-image/com/google/cloud/storage/native-image.properties +++ b/google-cloud-storage/src/test/resources/META-INF/native-image/com/google/cloud/storage/native-image.properties @@ -5,7 +5,7 @@ # build time. Initializing these classes explicitly at build time results in a # successful build. Args = \ - --initialize-at-build-time=com.google.cloud.conformance.storage.v1,\ + --initialize-at-build-time=com.google.cloud.conformance.storage.v1,\ com.google.protobuf,\ com.google.auth.oauth2,\ com.google.cloud.storage.conformance.retry,\ @@ -14,7 +14,8 @@ Args = \ com.google.api.client.util,\ com.google.api.client.http.javanet.NetHttpTransport,\ com.google.api.client.http.HttpTransport,\ - com.google.api.client.json,\ + com.google.api.client.json.JsonParser$1,\ + com.google.api.client.json.gson.GsonParser$1,\ com.google.common.io.BaseEncoding,\ com.google.common.math.IntMath$1,\ com.google.common.collect.Platform,\ @@ -26,7 +27,4 @@ Args = \ com.google.gson.internal,\ com.google.gson.internal.sql.SqlTypesSupport,\ com.google.gson.FieldNamingPolicy$3,\ - com.google.gson.LongSerializationPolicy$2 - - - + com.google.gson.LongSerializationPolicy$2 \ No newline at end of file