From 58420fe406ca4cb4afec2fb6fc0f65cd11161e5c Mon Sep 17 00:00:00 2001 From: chiba Date: Tue, 2 Oct 2007 03:49:11 +0000 Subject: [PATCH] fixed JIRA JASSIST-36 git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@410 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- src/main/javassist/util/proxy/ProxyFactory.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/javassist/util/proxy/ProxyFactory.java b/src/main/javassist/util/proxy/ProxyFactory.java index e6279e30..de6d96d1 100644 --- a/src/main/javassist/util/proxy/ProxyFactory.java +++ b/src/main/javassist/util/proxy/ProxyFactory.java @@ -586,6 +586,7 @@ public class ProxyFactory { finfo.setAccessFlags(AccessFlag.PRIVATE | AccessFlag.STATIC); cf.addField(finfo); MethodInfo minfo = new MethodInfo(cp, "", "()V"); + minfo.setAccessFlags(AccessFlag.STATIC); Bytecode code = new Bytecode(cp, 0, 0); code.addIconst(size * 2); code.addAnewarray("java.lang.reflect.Method"); -- 2.39.5