New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to enhance thread construct method #1627
Comments
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 DSL. |
Thank you very much for your answer.because lambda Runnable didn’t can be interceptor, so I want interceptor Thread construct method,then delegate lambda .
获取 Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
发件人: Rafael Winterhalter ***@***.***>
发送时间: Tuesday, April 30, 2024 12:46:10 AM
收件人: raphw/byte-buddy ***@***.***>
抄送: githubcheng2978 ***@***.***>; Author ***@***.***>
主题: Re: [raphw/byte-buddy] how to enhance thread construct method (Issue #1627)
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 DSL.
―
Reply to this email directly, view it on GitHub<#1627 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFISMWBFD4IMBLY2GVROWIDY7Z2NFAVCNFSM6AAAAABG5RVBKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBTGIYDCNBQGQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
So, what should I do to intercept the thread's constructor? |
You can intercept a constructor just as any method. Intercept via |
skip the explicit Also, add |
how to enhance thread construct method ?
The text was updated successfully, but these errors were encountered: