The SourceVersion enum has two related methods, latest() and latestSupported(). The former return the latest source version that can be modeled; the latter returns the "latest source version fully supported by the current execution environment." For example, if the jsr269-JDK7.jar were run on top of JKD6 the results should be
while both method should return RELEASE_7 if run on JDK7.
Should be fixed.
See attached tar-ball and