diff --git a/src/org/redkale/net/http/Rest.java b/src/org/redkale/net/http/Rest.java index 0295c5642..5b5ba45f7 100644 --- a/src/org/redkale/net/http/Rest.java +++ b/src/org/redkale/net/http/Rest.java @@ -859,8 +859,8 @@ public final class Rest { final RestConvert[] rcs = method.getAnnotationsByType(RestConvert.class); if (rcs != null && rcs.length > 0) restConverts.add(rcs); - mv = new MethodDebugVisitor(cw.visitMethod(ACC_PUBLIC, entry.name, "(" + reqDesc + respDesc + ")V", null, new String[]{"java/io/IOException"})); - //mv.setDebug(true); + mv = new MethodDebugVisitor(cw.visitMethod(ACC_PUBLIC, entry.name.replace('.', '_').replace(':', '%'), "(" + reqDesc + respDesc + ")V", null, new String[]{"java/io/IOException"})); + //mv.setDebug(true); mv.debugLine(); mv.visitVarInsn(ALOAD, 0);