Replies: 2 comments 1 reply
-
|
It seems like you are using |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Ah, Byte Buddy might add a visibility bridge that some older Java compilers forget. You can try to activate the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment





Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm developing a Java agent for runtime performance monitoring using ByteBuddy for instrumentation.
The agent works in most cases, but sometimes, after instrumenting certain classes or methods, I encounter
NoSuchMethodErrorat runtime.Context:
What I've tried:
Workaround:
The only reliable workaround I have found is to avoid instrumenting the classes that trigger
NoSuchMethodError.Unfortunately, since these errors only occur at runtime, there is no guarantee that I can intercept all problematic cases in advance.
Reproduction:
I have documented how to reproduce this error at the following URL:
91kr7/java-performance-agent#3
Any advice, diagnostic steps, or references to documentation would be greatly appreciated!
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions