This commit is contained in:
Redkale
2016-08-25 13:50:13 +08:00
parent 66a5fc2447
commit d9807148db
2 changed files with 2 additions and 1 deletions

View File

@@ -256,6 +256,7 @@ public final class RestServletBuilder {
mv.visitVarInsn(ALOAD, 1);
mv.visitMethodInsn(INVOKEVIRTUAL, "org/redkale/net/http/HttpRequest", "getRequstURILastPath", "()Ljava/lang/String;", false);
mv.visitVarInsn(ASTORE, maxLocals);
varInsns.add(new int[]{ALOAD, maxLocals});
} else {
throw new RuntimeException(method + " only " + RestParam.class.getSimpleName() + "(#) to Type(primitive class or String)");
}