This commit is contained in:
Redkale
2018-07-03 15:09:40 +08:00
parent 83ae5b0a13
commit 40126c923e

View File

@@ -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);