From d2749326fa5fc2fa881764317af79e9562ff3a58 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Mon, 16 May 2022 16:02:20 -0400 Subject: [PATCH] remove obsolete configurations to address GraalVM 22.1.0 breakage (#395) --- .../cloud/nativeimage/features/core/GrpcNettyFeature.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/native-image-support/src/main/java/com/google/cloud/nativeimage/features/core/GrpcNettyFeature.java b/native-image-support/src/main/java/com/google/cloud/nativeimage/features/core/GrpcNettyFeature.java index ba843513..5cb83956 100644 --- a/native-image-support/src/main/java/com/google/cloud/nativeimage/features/core/GrpcNettyFeature.java +++ b/native-image-support/src/main/java/com/google/cloud/nativeimage/features/core/GrpcNettyFeature.java @@ -124,9 +124,5 @@ private static void loadMiscClasses(BeforeAnalysisAccess access) { registerForUnsafeFieldAccess( access, "javax.net.ssl.SSLContext", "contextSpi"); - registerClassForReflection( - access, "java.lang.management.ManagementFactory"); - registerClassForReflection( - access, "java.lang.management.RuntimeMXBean"); } }