From 208ef2e71fabb99a4e45f46ea2b9f26a26054246 Mon Sep 17 00:00:00 2001 From: Valentin Kovalenko Date: Fri, 27 Sep 2024 12:40:18 -0600 Subject: [PATCH] Exclude `com.oracle.svm.core.annotate` from `Import-Package` for OSGi JAVA-5632 --- driver-core/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/driver-core/build.gradle b/driver-core/build.gradle index c23a24a9fb8..70061ca2b1e 100644 --- a/driver-core/build.gradle +++ b/driver-core/build.gradle @@ -82,6 +82,7 @@ afterEvaluate { '!sun.misc.*', // Used by DirectBufferDeallocator only for java 8 '!sun.nio.ch.*', // Used by DirectBufferDeallocator only for java 8 '!javax.annotation.*', // Brought in by com.google.code.findbugs:annotations + '!com.oracle.svm.core.annotate.*', // this dependency is provided by the GraalVM runtime 'io.netty.*;resolution:=optional', 'com.amazonaws.*;resolution:=optional', 'software.amazon.awssdk.*;resolution:=optional',