The warning is: warning: Supported source version 'RELEASE_6' from annotation processor 'com.jogamp.gluegen.structgen.CStructAnnotationProcessor' less than -source '1.7' It looks like it can be resolved by changing RELEASE_6 to RELEASE_7 in CStructAnnotationProcessor.java. BTW, where is this used? I found one test that uses it, but nothing in the code base.
Fixed with https://github.com/sgothel/gluegen/pull/21, which is at https://github.com/WadeWalker/gluegen/tree/bug_994_fix_cstruct_annotation_warning. Verified on Windows 8 that the warning goes away.
We require '@SupportedSourceVersion(SourceVersion.RELEASE_6)' since our target platform is Java6.