Describe the bug
The following warnings are shown during the build:
[WARNING] [io.quarkus.arc.processor.Methods] Method io.smallrye.health.SmallRyeHealthReporter.getHealth() is final, skipped during generation of corresponding intercepted subclass
[WARNING] [io.quarkus.arc.processor.Methods] Method io.smallrye.health.SmallRyeHealthReporter.getHealth() is final, skipped during generation of corresponding client proxy
Expected behavior
No warnings
Actual behavior
Warning is shown
To Reproduce
Steps to reproduce the behavior:
1.
mvn io.quarkus:quarkus-maven-plugin:0.17.0:create \
-DprojectGroupId=org.acme \
-DprojectArtifactId=getting-started \
-DclassName="org.acme.quickstart.GreetingResource" \
-Dpath="/hello" \
-Dextensions="quarkus-smallrye-health"
Environment (please complete the following information):
uname -a
or ver
: Linux ggastald-laptop 5.1.6-300.fc30.x86_64 #1 SMP Fri May 31 17:43:23 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
java -version
: openjdk version "1.8.0_212"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b03)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b03, mixed mode)
@gastaldi the warning is expected: introduce by this PR https://github.com/quarkusio/quarkus/pull/2644.
@machi1990 I am not saying that the warning shouldn't exist, but I think the smallrye-health extension needs to be enhanced to not trigger that warning, no?
Moreover, this method is private and should be completely ignored.