How can I generate Java dynamic proxy class codes in Java 17?

Viewed 48

I am using Java dynamic proxy in my application, and I want to see the exact Java .class file that Jvm generated while running, then I can use some decompile tools to see the generated Java codes. In jdk8 I can use ProxyGenerator to do so, but in Jdk17 ProxyGenerator is final and I can't directly use it, so is there a proper way to fix my question?

0 Answers
Related