Azure / Azure/azure-sdk-for-java
[BUG] azure-core/native-image.properties has too many entries with wide implications
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 2.2k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 159
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.