Index: libjc/cf_parse.c =================================================================== --- libjc/cf_parse.c (revision 412359) +++ libjc/cf_parse.c (working copy) @@ -664,7 +664,7 @@ /* Check stuff */ if (strcmp(method->name, "") == 0 && (method->access_flags & ~(_JC_ACC_PRIVATE|_JC_ACC_PROTECTED - |_JC_ACC_PUBLIC|_JC_ACC_STRICT)) != 0) { + |_JC_ACC_PUBLIC|_JC_ACC_STRICT|_JC_ACC_SYNTHETIC)) != 0) { _JC_EX_STORE(s->env, ClassFormatError, "invalid access flags 0x%04x for method `%s%s'", method->access_flags, method->name, method->descriptor); Index: include/jc_defs.h =================================================================== --- include/jc_defs.h (revision 412359) +++ include/jc_defs.h (working copy) @@ -50,7 +50,10 @@ #define _JC_ACC_INTERFACE 0x0200 #define _JC_ACC_ABSTRACT 0x0400 #define _JC_ACC_STRICT 0x0800 -#define _JC_ACC_MASK 0x0fff +#define _JC_ACC_SYNTHETIC 0x1000 +#define _JC_ACC_ANNOTATION 0x2000 +#define _JC_ACC_ENUM 0x4000 +#define _JC_ACC_MASK 0x7fff /* Additional flags stored with access flags */ #define _JC_ACC_JCNI 0x1000 /* JCNI native method (!JNI) */