Rafael Winterhalter

Results 738 comments of Rafael Winterhalter

You could run the agent with -Dnet.bytebuddy.dump=/some/folder to see what class file input the Byte Buddy agent gets and what it outputs. You can then use javap to see where...

Yes, you are getting the class file from disk in this case. `redefine` can accept a `ClassFileLocator` as a second argument. You would need to get hold of the extracted...

That it was Advice is for, it inlines the code into the targeted class. You can the call out to a dispatcher, normally a class that is injected into the...

AgentBuilder.Transformer.ForAdvice(Advice.withCustomConfiguration());

Byte Buddy should handle obfuscated code. Are you using the latest version? Other than that, the exception states what it is: with legacy blocks, frame computation is not supported.

If a plugin refers to a user implementation that uses ASM directly, it would be an issue. As this would be a breaking change, that's not possible unfortunately.

yes, you'd need to reshade ideally, or bridge it somehow.

I assume that those frameworks scan the class path via persisted class files. I am not sure if there is a better way to alter the implicit configuration, but I...

Indeed, could you build BB from master and see if the annotation change fixed the issue?