The Need for the Existence of UsingUnsafe.OfFactory #12252
Unanswered
githubcheng2978
asked this question in
Q&A
Replies: 2 comments 1 reply
-
You may need to ask from Bytebuddy for the final answer about this. From my understanding, this should be able to adopt the gap before and after JDK9. An injection strategy that uses sun. misc. Unsafe or jdk. internal. misc. Unsafe to inject classes. |
Beta Was this translation helpful? Give feedback.
0 replies
-
this line may change InjectionStrategy from InjectionStrategy.UsingReflection to InjectionStrategy.UsingUnsafe ,this means when i use bootstrap plugins ,the InjectionStrategy is InjectionStrategy.UsingUnsafe。is this correct? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Search before asking
Description
agentBuilder.with(new AgentBuilder.InjectionStrategy.UsingUnsafe.OfFactory(factory));
Is there a need for this code to be there, because bootstrap-plugins minions work fine when I remove it!
Use case
No response
Related issues
No response
Are you willing to submit a pull request to implement this on your own?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions