Add $ separate to state field name
MODIFY
dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/context/FieldBackedProvider.java
dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/context/FieldBackedProvider.java
@@ -930,7 +930,7 @@ public class FieldBackedProvider implements InstrumentationContextProvider {
}
private static String getContextFieldName(final String keyClassName) {
- return "__datadogContext" + Utils.converToInnerClassName(keyClassName);
+ return "__datadogContext$" + Utils.converToInnerClassName(keyClassName);
}
private static String getContextGetterName(final String keyClassName) {

Add $ separate to state field name