Open manofthepeace opened 10 months ago
/cc @Karm (mandrel), @galderz (mandrel), @zakkak (mandrel,native-image)
This is annoying. Thanks for the report, I will have a look soon.
We are also seeing this issue in 3.8.5 and it produces a lot of unnecessary logs in our builds. Would be great if it gets fixed
Describe the bug
When using
@RegisterForReflection(registerFullHierarchy = true)
on a class. The following warning appears while building;To remove the warning
@RegisterForReflection
can manually be used for all classes individually. End result is the same in the native buildThe interesting thing is that despite the warning saying it is unable to register the full hierarchy the annotation it is still doing what it should do. i.e. the full hierarchy is registered for reflection and native build does work. So the warning seems misleading in that sense as well.
Expected behavior
No warning is shown
Actual behavior
warning is shown
How to Reproduce?
Reproducer: https://github.com/manofthepeace/quarkus-jandex-issue
Steps to reproduce; 1- run
mvn clean package
and watch the outputOutput of
uname -a
orver
Darwin Kernel Version 21.6.0
Output of
java -version
OpenJDK 64-Bit Server VM Temurin-21.0.2+13 (build 21.0.2+13-LTS, mixed mode)
Quarkus version or git rev
3.6.X
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Additional information
No response