From 40126c923e35644a9842a09193807a150a0b892e Mon Sep 17 00:00:00 2001 From: Redkale <22250530@qq.com> Date: Tue, 3 Jul 2018 15:09:40 +0800 Subject: [PATCH] --- src/org/redkale/net/http/Rest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);