One more point - IIRC, the issue with JNIEXPORT being used in typedefs only generated a GCC warning, not an error, and so everything will continue to compile unless they use -Werror.