Description
Describe the bug
If dependency quarkus-micrometer-registry-prometheus
is present, @Path
annotation disappears from resource classes in runtime. For example it completely removes the possibility of calling method path(Class resource)
from jakarta.ws.rs.core.UriBuilder
because the class is required to be annotated with @Path
and runtime doesn't have this information
Expected behavior
@Path
annotation should be present when calling getClass().getAnnotations()
Actual behavior
@Path
annotation is not present when calling getClass().getAnnotations()
How to Reproduce?
It is very simple to reproduce this issue.
- Create application using:
quarkus create app --extension='resteasy-jackson'
- Add dependency
quarkus-micrometer-registry-prometheus
- Attach debugger to created
hello()
method - Call endpoint http://localhost:8080/hello
- Execute code in the debugger
getClass().getAnnotations()
Output of uname -a
or ver
No response
Output of java -version
openjdk version "11.0.20" 2023-07-18 OpenJDK Runtime Environment Temurin-11.0.20+8 (build 11.0.20+8) OpenJDK 64-Bit Server VM Temurin-11.0.20+8 (build 11.0.20+8, mixed mode)
Quarkus version or git rev
3.2.9, 3.6.4
Build tool (ie. output of mvnw --version
or gradlew --version
)
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Additional information
No response
Metadata
Assignees
Labels
Type
Projects
Status
Todo