Rafael Winterhalter
Rafael Winterhalter
Interception of native methods is not very well supported, and I do not think it is possible with a Java agent for `currentTimeMillis`. This as the rebased method name is...
They use `MemberSubstitution`. The ticket states explicitly that the instrumentation did not effectuate.
Yes, you can disable validation using: `new Byte Buddy().with(TypeValidation.DISABLED)`. I just tried this myself, though and I cannot produce the same modifiers. Are you running an outdated version? I get...
No, I have not seen that, unfortunately. To be honest, I installed and used Solaris a single time, just to make this work and have not used it since. If...
This is not possible with injection as the class loader cannot be patched to resolve the class file. You could use `ClassLoadingStrategy.Default.WRAPPER_PERSISTENT` instead. Alternatively, you can use an `AgentBuilder` and...
Is this the class that you defined? That should not happen. Can you try to create a reproducer? Likely there is a mixup somewhere.
The problem is that you create wrappers that all sit on top of the system class loader. The generated classes will be visible only within their own loader and children....
You would need to enable retransformation using `RetransformationStrategy.RETRANSFORM`, and likely set `disableClassFormatChanges()`. `Runtime` will already be loaded when the JVM dispatches the agent.
If you add a listener, you will see an error message. With retransofation, you cannot apply all forms of transformations. You will likely need to switch over to `Advice`.
Certainly.