Bug 994

Summary: CStructAnnotationProcessor emits warning under Java 7
Product: [JogAmp] Gluegen Reporter: Wade Walker <wwalker3>
Component: coreAssignee: Wade Walker <wwalker3>
Status: RESOLVED INVALID    
Severity: minor CC: sgothel
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
Workaround: ---

Description Wade Walker 2014-03-05 23:58:53 CET
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.
Comment 1 Wade Walker 2014-03-06 21:30:07 CET
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.
Comment 2 Sven Gothel 2014-05-11 03:32:12 CEST
We require '@SupportedSourceVersion(SourceVersion.RELEASE_6)'
since our target platform is Java6.