Open ZQiannnn opened 1 year ago
When i try use typepool before decorate, the problem is solved
rocks.inspectit.ocelot.core.instrumentation.transformer.AbstractClassTransformer#instrumentByteCode
TypePool typePool = TypePool.Default.of(ClassFileLocator.ForClassLoader.of(typeWithLoader.getLoader()));
DynamicType.Builder<?> builder = new ByteBuddy()
.decorate(typePool.describe(typeWithLoader.getName()).resolve(), ClassFileLocator.ForClassLoader.of(typeWithLoader.getLoader()));
I'm not sure is the rigth way
Describe the bug config yaml:
method:
aspect:
the agent log shows javaagent not add hook for lock method,but the class is redefined and i get an error in aspect because of variable name changed
Expected behavior exclude scope don't change parameter name
Desktop (please complete the following information):