Bug 994 - CStructAnnotationProcessor emits warning under Java 7
Summary: CStructAnnotationProcessor emits warning under Java 7
Status: RESOLVED INVALID
Alias: None
Product: Gluegen
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- minor
Assignee: Wade Walker
URL:
Depends on:
Blocks:
 
Reported: 2014-03-05 23:58 CET by Wade Walker
Modified: 2014-05-11 03:32 CEST (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.