Closed yanxinyuan closed 6 years ago
I've created a minimal example project to demonstrate.
Ok , after i change the cglib Interceptor to throw SuspendExecution, this issue has gone.
Supplementary explanation, cglib can also co-work with quasar by using java agent instrument and SuspendableClassifier, here is an example.
Dears, As far as i know, Quasar rely on bytecode instrumentation. This can be done at class loading time via a Java Agent, or at compilation time with an Ant task.
But now i have a class which is generated by cglib and i want one of its method can suspend the fiber. Is it possible ? And how should i do?
The code is something like this:
And the result should be: