Closed kanderson250 closed 5 months ago
Attention: Patch coverage is 0%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 70.68%. Comparing base (
f1e9c8c
) to head (dde2220
). Report is 603 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
...main/java/com/newrelic/weave/utils/WeaveUtils.java | 0.00% | 0 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Resolves #1882
This PR introduces a new completable future module
java.completable-future-jdk11
, for JREs 11 and higher.The reason for this change was the need to instrument
CompletableFuture.completeAsync
, which was introduced in Java 9 and was not part of our previous instrumentation. The new module adds support for this method (all other instrumentation is the same asjava.completable-future-jdk8u40
).We decided as a team to have this instrumentation build with Java 11 and apply to Javas 11+. Javas 8-10 will use the existing CF module.
Other things of note:
java.completable-future-jdk8u40
module,Skip_SecurityPolicy
. This is to prevent JREs 11 and higher from loading the module.WeaveUtils
to allow the weaver to recognize Java 9 and 10 runtimes.