Version warning from annotation processor
I get a warning when the annotation processor runs because it declares that it does not understand Java source format beyond version 6.
In com/tightdb/generator/CodeGenProcessor.java:
@SupportedSourceVersion(SourceVersion.RELEASE_6)
should probably be changed to
@SupportedSourceVersion(SourceVersion.RELEASE_7)
Of course, we can only make this change if our processor actually understands version 7 syntax properly. If not, we must update the processor.
7 is also supported, so Niko please update.
Simply changing it to SourceVersion.RELEASE_7 would make it incompatible with Java 6, but I solved the problem by adding a method that returns the latest Java version.