]> source.dussan.org Git - javassist.git/commitdiff
fixed JIRA JASSIST-36
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Tue, 2 Oct 2007 03:49:11 +0000 (03:49 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Tue, 2 Oct 2007 03:49:11 +0000 (03:49 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@410 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

src/main/javassist/util/proxy/ProxyFactory.java

index e6279e307c4b431b4290a8d8444bd8912f439eae..de6d96d1e8776d818042bcb03cafc699759a77ce 100644 (file)
@@ -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");