Commit 1913e33
Disallow AgentTracer.forceRegister(null) (#11942)
Disallow AgentTracer.forceRegister(null)
Callers should pass NOOP_TRACER explicitly instead of null.
Co-authored-by: devflow.devflow-routing-intake <devflow.devflow-routing-intake@kubernetes.us1.ddbuild.io>1 parent 658a3e4 commit 1913e33
2 files changed
Lines changed: 5 additions & 2 deletions
File tree
- dd-java-agent/agent-debugger/src/test/java/com/datadog/debugger/agent
- internal-api/src/main/java/datadog/trace/bootstrap/instrumentation/api
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
261 | 264 | | |
262 | 265 | | |
263 | 266 | | |
| |||
0 commit comments