From ed57e703aac308d44dd9068148836a22ba806892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mathieu?= Date: Mon, 15 Jul 2024 17:52:58 +0200 Subject: [PATCH 1/2] Upgrade Google Cloud libraries to 26.43.0 --- bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bom/pom.xml b/bom/pom.xml index 985720e9..92af8d85 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -18,7 +18,7 @@ UTF-8 UTF-8 - 26.37.0 + 26.43.0 0.31.1 From 58344384088d893f103e9106a309dd6de261dbb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mathieu?= Date: Tue, 16 Jul 2024 14:03:53 +0200 Subject: [PATCH 2/2] Initialize at runtime AndroidFriendlyRandomHolder --- .../common/deployment/CommonBuildSteps.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/deployment/src/main/java/io/quarkiverse/googlecloudservices/common/deployment/CommonBuildSteps.java b/common/deployment/src/main/java/io/quarkiverse/googlecloudservices/common/deployment/CommonBuildSteps.java index 1fed3225..bcced870 100644 --- a/common/deployment/src/main/java/io/quarkiverse/googlecloudservices/common/deployment/CommonBuildSteps.java +++ b/common/deployment/src/main/java/io/quarkiverse/googlecloudservices/common/deployment/CommonBuildSteps.java @@ -40,7 +40,9 @@ public NativeImageConfigBuildItem nativeImageConfiguration() { NativeImageConfigBuildItem.Builder builder = NativeImageConfigBuildItem.builder() .addRuntimeReinitializedClass("com.sun.management.internal.PlatformMBeanProviderImpl") // Required due to sun.misc.Unsafe usage in static initializers - .addRuntimeReinitializedClass("com.google.common.cache.Striped64"); + .addRuntimeReinitializedClass("com.google.common.cache.Striped64") + // Required due to initializing a java.util.Random + .addRuntimeReinitializedClass("io.opentelemetry.sdk.internal.AndroidFriendlyRandomHolder"); return builder.build(); } }