byte-buddy icon indicating copy to clipboard operation
byte-buddy copied to clipboard

About the new requirements for the support of friends of native transform

Open 1057105012 opened this issue 2 years ago • 1 comments

I saw that the default implementation of bytebuddy is based on AgentBuilder, which seems to be no problem, but in the process of my practice, I found that the process based on third-party code is very uncontrollable, especially when encountering some special jvm architecture and special In some cases, such as the osgi environment, a small number of categories will fail to insert stubs, and the monitoring of bytebuddy is behind the typedescription. Sometimes some classes will not reach this step at all, and will fail when bytebuddy resolves This method looks normal, and it may not be a problem. Maybe we can't hook these classes at all, but the lack of prompt information will make us very confused about these extremely occasional phenomena, so I think bytebudy can Provide an equivalent support based on native transform, similar to javassit and asm, but retain the simplicity of bytebuddy

1057105012 avatar Jun 07 '23 09:06 1057105012

Not sure I follow.

maybe you are looking for agentbuilder.listener?

raphw avatar Jun 08 '23 18:06 raphw