newrelic / newrelic-java-agent

The New Relic Java agent
Apache License 2.0
192 stars 140 forks source link

Add support for JAX-RS 4.0 #1833

Open meiao opened 1 month ago

meiao commented 1 month ago

Description

The next version of JAX-RS will likely be incompatible with the current instrumentation.

Our tests failed against a milestone build:

Execution failed for task ':instrumentation:jax-rs-3.0:verifyPass_jakarta.ws.rs_jakarta.ws.rs-api_4.0.0-M2'.
> A failure occurred while executing com.newrelic.agent.instrumentation.verify.VerifyWorkAction
   > Verification FAILED. Instrumentation module jax-rs-3.0-1.0.jar SHOULD HAVE applied to jakarta.ws.rs:jakarta.ws.rs-api:4.0.0-M2 and did not. You may need to adjust the range "jakarta.ws.rs:jakarta.ws.rs-api:[3.0-M1,)".
     Verifier output:
     Creating user classloader with custom classpath:
     WeaveViolation{type=MISSING_ORIGINAL_BYTECODE, clazz=jakarta/ws/rs/core/Application}
workato-integration[bot] commented 1 month ago

https://new-relic.atlassian.net/browse/NR-255334