We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e566a5 commit 84737ecCopy full SHA for 84737ec
docs/java/basis/proxy.md
@@ -229,7 +229,7 @@ public class DebugInvocationHandler implements InvocationHandler {
229
public class JdkProxyFactory {
230
public static Object getProxy(Object target) {
231
return Proxy.newProxyInstance(
232
- target.getClass().getClassLoader(), // 目标类的类加载
+ target.getClass().getClassLoader(), // 目标类的类加载器
233
target.getClass().getInterfaces(), // 代理需要实现的接口,可指定多个
234
new DebugInvocationHandler(target) // 代理对象对应的自定义 InvocationHandler
235
);
0 commit comments