Thu, 27 Jun 2013 11:46:23 -0700
8019308: Add descriptions of Java SE 7 and 8 language changes to SourceVersion
Reviewed-by: jjg
src/share/classes/javax/lang/model/SourceVersion.java | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/classes/javax/lang/model/SourceVersion.java Thu Jun 27 17:47:18 2013 +0200 1.2 +++ b/src/share/classes/javax/lang/model/SourceVersion.java Thu Jun 27 11:46:23 2013 -0700 1.3 @@ -53,6 +53,8 @@ 1.4 * 1.4: assert 1.5 * 1.5: annotations, generics, autoboxing, var-args... 1.6 * 1.6: no changes 1.7 + * 1.7: diamond syntax, try-with-resources, etc. 1.8 + * 1.8: lambda expressions and default methods 1.9 */ 1.10 1.11 /** 1.12 @@ -122,6 +124,9 @@ 1.13 * The version recognized by the Java Platform, Standard Edition 1.14 * 7. 1.15 * 1.16 + * Additions in this release include, diamond syntax for 1.17 + * constructors, {@code try}-with-resources, strings in switch, 1.18 + * binary literals, and multi-catch. 1.19 * @since 1.7 1.20 */ 1.21 RELEASE_7, 1.22 @@ -130,6 +135,7 @@ 1.23 * The version recognized by the Java Platform, Standard Edition 1.24 * 8. 1.25 * 1.26 + * Additions in this release include lambda expressions and default methods. 1.27 * @since 1.8 1.28 */ 1.29 RELEASE_8;