summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2007-10-02 03:49:11 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2007-10-02 03:49:11 +0000
commit58420fe406ca4cb4afec2fb6fc0f65cd11161e5c (patch)
tree97bc55f6170d142ea82869368154322c3ff7d662
parent8968f3341ba2f46f78f22a0b4853cb4820d44f11 (diff)
downloadjavassist-58420fe406ca4cb4afec2fb6fc0f65cd11161e5c.tar.gz
javassist-58420fe406ca4cb4afec2fb6fc0f65cd11161e5c.zip
fixed JIRA JASSIST-36
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@410 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
-rw-r--r--src/main/javassist/util/proxy/ProxyFactory.java1
1 files changed, 1 insertions, 0 deletions
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, "<clinit>", "()V");
+ minfo.setAccessFlags(AccessFlag.STATIC);
Bytecode code = new Bytecode(cp, 0, 0);
code.addIconst(size * 2);
code.addAnewarray("java.lang.reflect.Method");