Generate proxy

Zlatko Josic <[email protected]> Sat, 29 Jun 2013 20:39:52 +0200
Newsgroups gmane.comp.java.cglib.devel
Message-ID <CAE+vdrR0syczsOsxP7wxn77NbJC6waodtQ9PdyibEMK-pCZLPA@mail.gmail.com>
Hi,

I use cglib library for generating proxies. I have interfaces with lot of
methods. I am facing with this error:

Caused by: java.lang.ClassFormatError: Invalid method Code length 115245 in
class file
com/incrementum/cbadm/beans/CbadmSessionBean$$EnhancerByCGLIB$$dcb09e16
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
... 13 more

I have found on internet that cglib library generates one big a method that
is problem. Is there any solution to this?

Thanks


Zlaja

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

_______________________________________________
cglib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cglib-devel