Commit 42ea301
committed
Make sure we load core JMX using the deferred callback's inherited thread-context-classloader (TCCL)
This handles a situation where the app thread triggering JMX has a special thread-context-classloader
set that can see the custom JMX builder class. The callback thread inherits this TCCL so we just need
to make sure to load core JMX using this before starting JMXFetch (which needs a different TCCL set.)1 parent 1e07b3d commit 42ea301
File tree
1 file changed
+4
-0
lines changed- dd-java-agent/agent-bootstrap/src/main/java/datadog/trace/bootstrap
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
284 | 288 | | |
285 | 289 | | |
286 | 290 | | |
| |||
0 commit comments