Rafael Winterhalter
Rafael Winterhalter
The Thread class will already be loaded, so you likely will need to apply retransformation. Typically, you'd also disable class format changes doing so. There's steps for both in the...
You can intercept a constructor just as any method. Intercept via `ElementMatchers.isConstructor()`.
skip the explicit `retransformClasses`. Also, add `.wtih(RetransformationStrategy.RETRANSFORM).disableClassFormatChanges()`.
Could you try with the latest version of Byte Buddy? I do not support older releases.
Not sure how this relates? Why are you attaching if you already specify the agent?
Do you really need to change the method? I would change the modifier to `private` if so using `ModifierTransformation` and add another method with your desired name that invokes the...
First, use `AsmVisitorWrapper.AbstractBase` or retain the modifiers. I do not think you want to reset them. The error happens during compilation in the annotation processor. This is before Byte Buddy...
It seems like a constructor is instrumented incorreclty. This is a user error. Constructors must not use `this` other than for setting fields before the super constructor is invoked.
Are the created classes really added? It seems like they are missing from the application.
Byte Buddy tries to provide different defaults when it detects Graal: `GraalImageCode`, but possibly those defaults are overridden. In this case you need to contact the library maintainers. Maybe you...