Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 97c6c8b

Browse files
authored
fix(java): remove conflicting reflection configuration to address UnsupportedFeatureException with GraalVM 22.1.0 (#1682)
* fix: remove conflicting configuration to address breakage with GraalVM 22.1.0
1 parent c1b88e3 commit 97c6c8b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,5 @@ private static void loadMiscClasses(BeforeAnalysisAccess access) {
124124
registerClassForReflection(access, "com.google.api.FieldBehavior");
125125

126126
registerForUnsafeFieldAccess(access, "javax.net.ssl.SSLContext", "contextSpi");
127-
registerClassForReflection(access, "java.lang.management.ManagementFactory");
128-
registerClassForReflection(access, "java.lang.management.RuntimeMXBean");
129127
}
130128
}

0 commit comments

Comments
 (0)