[BUG] azure-core/native-image.properties has too many entries with wide implications #43146
Labels
Azure.Core
azure-core
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core/src/main/resources/META-INF/native-image/com.azure/azure-core/native-image.properties
I feel this file has too many build-time initialisations, SLF4J, etc.
This forces client projects of this library, who want to build a native image, to make every class that a logging provider ultimately reaches during initialisation (which can be a lot of classes), to be build-time too. There are some reasons why this can be a) impossible with GraalVM or b) cause other unacceptable problems.
Not everyone uses logback, and the other logging frameworks might cause problems.
The text was updated successfully, but these errors were encountered: