Hi, I'm trying to generate a native class on the fly, but I just can't get my class generated with BCEL. When I try to run my code I get the following error: ClassFormatError: Code attribute in native or abstract methods. I used BCELifier to regenerate a working class, and I get the same problem (so it's clearly a bug in BCEL). For the ones unfamiliar with JNI, here is what I want to generate: public class Test { public native static void run(Object a, String b, String c, String d, int e); static { System.loadLibrary("Test"); } } Could you please keep me informed by email about the status of this bug. Thanks. Alok Menghrajani alok.menghrajani@epfl.ch