Commit d361e7e
RUM-14050: Fix R8 missing class error for dd-java-agent annotations
When dd-java-agent is attached to the Gradle daemon (introduced in
#3583 via setup-gradle), it instruments classes at load time for source
code profiling, injecting references to datadog.compiler.annotations.
SourceLines and datadog.compiler.annotations.SourcePath into bytecode.
R8 then sees these references but can't find the annotation class
definitions in the build classpath, causing a hard failure in every
publish-benchmark-synthetics (and potentially other synthetics) CI job
since that PR merged.
Add -dontwarn rules for datadog.compiler.annotations.** in the
benchmark and kotlin sample proguard files so R8 ignores these
agent-injected annotation references.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>1 parent 3533bee commit d361e7e
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
0 commit comments