From 4727ec8ea9c901cbb16ff16ef0fd317b3a2f0a8b Mon Sep 17 00:00:00 2001 From: Krishnananthalingam Tharmigan <63336800+TharmiganK@users.noreply.github.com> Date: Wed, 23 Aug 2023 10:11:44 +0530 Subject: [PATCH] Fix illegal access warning --- .../azure-service-bus-native/native-image.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/native/src/main/resources/META-INF/native-image/org.ballerinax/azure-service-bus-native/native-image.properties b/native/src/main/resources/META-INF/native-image/org.ballerinax/azure-service-bus-native/native-image.properties index a98065ca..c3082a4e 100644 --- a/native/src/main/resources/META-INF/native-image/org.ballerinax/azure-service-bus-native/native-image.properties +++ b/native/src/main/resources/META-INF/native-image/org.ballerinax/azure-service-bus-native/native-image.properties @@ -14,4 +14,5 @@ # specific language governing permissions and limitations # under the License. -Args = --initialize-at-build-time=org.slf4j +Args = --initialize-at-build-time=org.slf4j \ + -J--add-opens=java.base/java.nio=ALL-UNNAMED